-
Notifications
You must be signed in to change notification settings - Fork 59
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
OverwriteNewerFile error on low-latency cloud calls #49
Comments
Learned a ton from: https://apenwarr.ca/log/20181113 Maybe |
I ran into this with Azure Blob Storage after implementing the live cloud integration tests in #85.
It appears that Azure Blob Storage also only has second-resolution times. One possible thing we can do is, every time there is an I also read the linked blog post. One problem they point out that we will not be able to solve this way is if the system clocks between the source and destination are not synced. I think this is a real concern because we're always comparing times across two different systems. The solution in the blog post is to maintain a separate database of mtimes. We may want to think about doing this as it's the only guaranteed way to deal with this problem. |
Code like this will fail intermittently, likely because a transaction hasn't finished or a place where the cloud is updated before the local file edit time is updated.
With a traceback that looks like:
The text was updated successfully, but these errors were encountered: