I read S3 doc that PUT is atomic, in the sense there is never a partial write to an object. My naive intuition is that, there might be some underlying locking mechanism that assures the atomicity. Does that mean that during an object is being updated, reads for the object with the same key will be rejected? (I searched around the S3 documentation but did not find a good answer)
Question posted in Amazon Web Sevices
The official Amazon Web Services documentation can be found here.
The official Amazon Web Services documentation can be found here.
2
Answers
No. It means that you will get a current version, until the update fully finishes.
@marcin has already answered and his answer should be the accepted answer
Do note there will be an exception in single case as stated in the docs
Just for the sake of documentation to validate. what Marcin said https://aws.amazon.com/s3/consistency/
This clearly means you will always get the latest version of the bucket. if the latest version is ( old that is update is in progress) you will get the current version. Once updated then only you will get the latest version