Does AWS S3 CRR/SRR replication order match the order of object creation?

1

In general (barring errors and timing issues due to object sizes etc.), does AWS S3 CRR replicate objects in the order in which they are created? Thanks.

aj_park
질문됨 4년 전517회 조회
4개 답변
0

Hi aj_park,

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.

AWS
답변함 4년 전
0

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.

Best,
AJ

aj_park
답변함 4년 전
0

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.

AWS
답변함 4년 전
0

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:

  1. The object is eligible for replication but it has yet to evaluated for replication OR
  2. The object is not eligible for replication as no rule matched with the object.

Your explanation answers my question. Thanks a lot.

aj_park
답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠