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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ