As you mention, order will differ due to variables like object sizes but there are many other variables as well given these are replicated in parallel. It's a good idea to assume the replication will be out of order.
Thanks BradM, for explaining. One follow-up question:
If CRR is configured on a bucket and if at object creation time the object matches a replication rule, can I assume that the x-amz-replication-status metadata value will be set to PENDING right away, or is there a possibility that if I make a HEAD request right after creating the object, x-amz-replication-status will not be returned because there is a delay between object creation and when the replication rules are evaluated to determine if an object is eligible for replication. Thanks again, for your help.
Hi again aj_park,
Your questions make me curious about what you have in mind but the specific answer to your question is that the replication status is evaluated immediately, so, assuming you have a replication rule in place at the time of the PUT, the replication status will show PENDING on an immediate HEAD request.
Thanks BradM. I was trying to understand if an application can rely on the x-amz-replication-status being set during a HEAD request or in the inventory report. Or could there be a case that an object is eligible for replication, but x-amz-replication-status is not set and therefore the application can't distinguish between the following:
- The object is eligible for replication but it has yet to evaluated for replication OR
- The object is not eligible for replication as no rule matched with the object.
Your explanation answers my question. Thanks a lot.
S3 object lock on existing S3 objects?Accepted AnswerEXPERTasked 2 years ago
Does S3 same region replication trigger S3 event notifications in the destination bucket?Accepted Answerasked 3 years ago
how to put the same key or tag on multiple objects in an s3 bucketasked 2 hours ago
Why do we need S3 bucket versioning enabled in order to do replication?Accepted Answerasked 2 years ago
How to ensure DMS writing CDC data in order to S3 target?asked a month ago
Does AWS S3 CRR/SRR replication order match the order of object creation?
S3 CRR and objects locksAccepted Answerasked 2 years ago
S3: Configure object lock with replication (CRR) on aws s3 bucketsasked 5 months ago
How to see the rows of table in order by their ID with SELECT command in QLDB?asked 7 months ago
S3 Object Lock and CRR