-
Notifications
You must be signed in to change notification settings - Fork 234
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
Race conditions #5
Comments
Every file operation is synchronized by storage instance Doesn't matter you use Paper or any data storage, it should be your responsibility to write correct data in correct order. Paper just controls that more than one parallel write/read operations never happened. |
Do you think the issue is exist anyway? Or we can close the issue? |
We can, it was just a question wondering whether Paper handled it this way or not. |
Paper looks very interesting, but I have some questions about how the file access works. It says random file access is rapid on flash storage. What happens if 2 async tasks read the file and write to the file making the first write to the file obsolete? The second write was based on the result before the first write when it probably should've been based on that after the first write. Does Paper handle these issues or do we have to make sure ourselves that that doesn't happen?
The text was updated successfully, but these errors were encountered: