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

Read from snapshot may read data from the future #7

Open
amir73il opened this issue Nov 14, 2018 · 0 comments
Open

Read from snapshot may read data from the future #7

amir73il opened this issue Nov 14, 2018 · 0 comments
Labels

Comments

@amir73il
Copy link
Owner

readdir getattr and read from snapshot overlay can all race with copy up and read directly from the lower object after it has been modified.
Fixing this will require a "sequence lock" pattern, i.e. check that if object was copied up during read and repeat the read operation from copied up object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant