Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding bucket replication test #1635

Merged
merged 5 commits into from
Mar 1, 2022
Merged

Adding bucket replication test #1635

merged 5 commits into from
Mar 1, 2022

Conversation

cniackz
Copy link
Collaborator

@cniackz cniackz commented Mar 1, 2022

Fixes https://github.com/miniohq/engineering/issues/435
Fixes https://github.com/miniohq/engineering/issues/436

This test is intended for adding bucket replication, mc commands being used are:

$ mc admin bucket remote add myminio/test http://minioadmin:minioadmin@192.168.0.21:9000/yuyu50 --service "replication" --region ""
Remote ARN = `arn:minio:replication::a2993525-3cf5-48b5-9614-e4376880eb4c:yuyu50`.

$ mc replicate add myminio/test --remote-bucket "arn:minio:replication::a2993525-3cf5-48b5-9614-e4376880eb4c:yuyu50" --priority 2
Replication configuration rule applied to myminio/test successfully.

Test is looking for rule to be enabled as verification step:

{rules: [{,…}]}
rules: [{,…}]
0: {,…}
destination: {bucket: "arn:minio:replication::8f803fa6-adb1-4e63-8fab-bf8f65b83d31:versioningenabled"}
id: "c8ei6cm49b3i538jt2ig"
priority: 1
status: "Enabled" <---- This if it works!

@dvaldivia dvaldivia merged commit 645f982 into minio:master Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants