Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Deletions can't be replicated after enabling bucket versioning for the source S3 bucket #86

@shikunwei

Description

@shikunwei

Describe the bug
The S3 replication plugin stops working for file/folder deletions after enabling bucket versioning for the source S3 bucket.

To Reproduce

  1. Create two S3 buckets without bucket versioning.
  2. Install this S3 replication plugin for the two buckets above.
  3. Do some file upload/delete operations to the source S3 bucket, and verify that the replication to the destination bucket works correctly.
  4. Enable the bucket versioning for the source bucket. Delete some files or folders in the source bucket, and you will see that those files/folders won't be deleted in the destination bucket no matter how long you wait.

So Enable the bucket versioning for the source bucket caused the S3 replication plugin won't work for file/folder deletions.

Expected behavior
Expect the files and folders to be deleted in the destination bucket after they have been deleted from the source bucket.
Otherwise, the difference between the two buckets would keep growing.

Please complete the following information about the solution:

  • Version:
    (SO8002) - Data Transfer Hub - S3 Plugin - Template version v1.0.0
  • Region: Any
  • Was the solution modified from the version published on this repository?
    No
  • If the answer to the previous question was yes, are the changes available on GitHub?
  • Have you checked your service quotas for the services this solution uses?
    Yes, it's not relevant
  • Were there any errors in the CloudWatch Logs?
    No logs.

Screenshots
None

Additional context
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions