-
Notifications
You must be signed in to change notification settings - Fork 21
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
PUT operation on unversioned objects not always atomic #462
Comments
A thing we must decide before starting to address this is what model we want to implement.
The following reasoning assumes that a GET is issued without specifying the object version in the query string. To me, make the GET to see the old state makes more sense.
|
We addressed this in the design review https://github.com/aquarist-labs/s3gw/pull/497 |
S3 Testsdirty read tests - halt a second write before finish, check if first write is still there with two writes, see either one or the other test_atomic_conditional_write_1mb test_versioned_concurrent_object_create_and_remove fail |
When an object already exists and a
PUT
operation to the same object name happens, a concurrentGET
operation may see a truncated or missing object.The expected correct behaviour is that the
GET
sees either the old state or the new state only.The text was updated successfully, but these errors were encountered: