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
preguntada hace 4 años517 visualizaciones
4 Respuestas
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
respondido hace 4 años
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
respondido hace 4 años
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
respondido hace 4 años
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
respondido hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas