- Newest
- Most votes
- Most comments
Hi THere
Please take a look at the list of reasons why an object wouldn't get replicated here: https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication-what-is-isnot-replicated.html#replication-what-is-not-replicated
I have checked those out already, and none seem to apply. There are also no lifecycle policies applied to either source or destination buckets. The source and destination have also been the same since the first setup.
Can you do a "aws s3api head-object --bucket <bucket-name> --key <full key prefix and name>" command on one of the failed objects and post the output? If you need help with that CLI command see https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/head-object.html
Here is the output from 1
AcceptRanges: bytes ContentLength: 1978 ContentType: application/octet-stream ETag: '"d3a7e36d53e05328a4560893fdc7e00b"' LastModified: '2022-09-29T20:17:10+00:00' Metadata: arch-block-size: '1894' ObjectLockLegalHoldStatus: OFF ObjectLockMode: COMPLIANCE ObjectLockRetainUntilDate: '2023-01-20T20:06:48+00:00' ReplicationStatus: FAILED VersionId: AHYyrnOSStfFBsOfT8WMOatsVEGX0M97
Matt-B, any update here? I'm seeing the same issue.
Hi There
I see tat ObjectLockMode is set to COMPLIANCE. Please ensure that the destination bucket also has ObjectLock mode set to the same. If the source bucket has S3 Object Lock enabled, the destination buckets must also have S3 Object Lock enabled or replication to work
See https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html#replication-requirements
Relevant content
- asked a year ago
- asked a year ago
- asked 4 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 months ago
Did you ever resolve this issue? I'm seeing the same thing, and I can find no configuration difference between objects that succeed and those that don't. Re-running the same batch operation succeeds in same cases, but in others continues to see a failure rate.