Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix refresh ticker dropping operations #74

Merged
merged 4 commits into from
Mar 29, 2024
Merged

Conversation

ldebruijn
Copy link
Owner

We found that the remote refreshing of persisted operations would sometimes drop operations from specific files. There seems to be a scenario where a file is correctly downloaded from the remote, and stored locally, but when reading the file right after it would see an empty file still.

This cleans up the code around that mechanism, provides additional protections for concurrent processing and fixes the issue. The applied fix may not be the prettiest, but it does the trick and can be supplied faster than diving into why there is a discrepancy when writing to a file and reading it straight after.

@ldebruijn ldebruijn added the bug Something isn't working label Mar 29, 2024
@ldebruijn ldebruijn merged commit 1402a06 into main Mar 29, 2024
4 checks passed
@ldebruijn ldebruijn deleted the fix-refresh-concurrent branch March 29, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant