This document describes the content that will and will not be copied after you enable cross-region replication for a bucket.
In a source bucket with cross-region replication enabled, COS will copy the following:
- If you specify to delete an object version from the source bucket (i.e., specifying the version ID), this operation will not be copied.
- If you add a bucket-level configuration such as a lifecycle rule to the source bucket, object operations caused by such configurations will not be copied to the destination bucket.
If an object is deleted from a source bucket with cross-region replication enabled, the following will happen:
In a source bucket with cross-region replication enabled, COS will not copy the following:
- The cross-region replication of object data between buckets is not transitive. If you set two cross-region replication rules, one of which sets bucket A as the source bucket and bucket B as the destination bucket, and the other sets bucket B as the source bucket and bucket C as the destination bucket, then the object data added to bucket A will only be copied to bucket B but not to bucket C.
- For example, if you update the lifecycle configuration of the source bucket, COS will not apply this configuration to the destination bucket synchronously.
- If you only configure a lifecycle rule for the source bucket, COS will add delete markers to expired objects there, but the markers will not be copied to the destination bucket. If you want the destination bucket to delete the expired objects, you need to configure the same lifecycle rule for the destination bucket separately.