Will an Object Deletion in a Source Bucket Be Synchronized to the Destination Bucket?
- If your cross-region replication rules are configured on OBS Console, object deletions in the source bucket will not be synchronized to the destination bucket by default.
- If your cross-region replication rules are configured using the API, the synchronization depends on the setting of the DeleteData parameter.
- If the value of DeleteData is Enabled, the deletions will be synchronized.
Objects deleted based on lifecycle rules in the source bucket will not be synchronously deleted from the destination bucket.
For example, you created a cross-region replication rule on January 16 to replicate objects a.txt and aa.txt from source bucket A to destination bucket B. On January 20, a.txt was deleted from source bucket A based on the lifecycle rule. In this case, the a.txt file in the bucket B would not be deleted.
- If the value of DeleteData is Disabled, the deletions will not be synchronized.
- If the value of DeleteData is Enabled, the deletions will be synchronized.
After the cross-region replication rule is enabled, objects that meet the following conditions are copied to the destination bucket:
- Newly uploaded objects (excluding objects in the Deep Archive or Archive storage class)
- Updated objects, for example, objects whose content or ACL information is updated
- Historical objects in a bucket with Synchronize Existing Objects enabled (excluding objects in the Archive or Deep Archive storage class)
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot