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

Test bucket sync status in a multi-site environment. #263

Merged
merged 1 commit into from May 25, 2022

Conversation

viduship
Copy link
Contributor

@viduship viduship commented May 22, 2022

This test tests the bucket sync status for a given bucket in a multisite environment and also performs a bucket sync run in case the bucket sync status is not caught up with the source zone.
Logs:

  1. When bucket sync status is behind a few shards and gets caught up by executing "radosgw-admin bucket sync run."
    http://pastebin.test.redhat.com/1053287

  2. when bucket sync status reports caught up with the source zone:
    http://pastebin.test.redhat.com/1053288

  3. Recent logs: http://pastebin.test.redhat.com/1053841

Addresses bugs:

  1. Bug 2023164 - [RGW] Multisite data sync stuck for some buckets and needs bucket sync run to sync bucket.
  2. Bug 2021009 - [RGW] data sync stuck for buckets even after running bucket sync run.

Signed-off-by:viduship < vimishra@redhat.com>

@viduship

This comment was marked as resolved.

rgw/v2/utils/utils.py Outdated Show resolved Hide resolved
@viduship viduship force-pushed the vidushi-b3 branch 4 times, most recently from 593f6a1 to 4a479b3 Compare May 23, 2022 11:42
@viduship viduship requested a review from a team May 23, 2022 12:51
rgw/v2/utils/utils.py Outdated Show resolved Hide resolved
rgw/v2/utils/utils.py Outdated Show resolved Hide resolved
rgw/v2/utils/utils.py Outdated Show resolved Hide resolved
rgw/v2/tests/s3_swift/test_Mbuckets_with_Nobjects.py Outdated Show resolved Hide resolved
@viduship viduship closed this May 24, 2022
@viduship viduship reopened this May 24, 2022
@viduship viduship closed this May 24, 2022
@viduship viduship deleted the vidushi-b3 branch May 24, 2022 05:17
@viduship viduship restored the vidushi-b3 branch May 24, 2022 06:23
@viduship viduship reopened this May 24, 2022
@viduship viduship closed this May 24, 2022
@viduship viduship reopened this May 24, 2022
@viduship viduship closed this May 24, 2022
@viduship viduship deleted the vidushi-b3 branch May 24, 2022 06:52
@viduship viduship restored the vidushi-b3 branch May 24, 2022 06:52
@viduship viduship reopened this May 24, 2022
@viduship viduship closed this May 24, 2022
@viduship viduship reopened this May 24, 2022
@viduship viduship requested a review from a team May 24, 2022 07:46
@viduship viduship force-pushed the vidushi-b3 branch 3 times, most recently from a833d63 to b2a6898 Compare May 24, 2022 08:29
rgw/v2/tests/s3_swift/test_Mbuckets_with_Nobjects.py Outdated Show resolved Hide resolved
rgw/v2/utils/utils.py Outdated Show resolved Hide resolved
@viduship viduship force-pushed the vidushi-b3 branch 4 times, most recently from da63b0c to 6bfb8a7 Compare May 24, 2022 17:37
@viduship viduship closed this May 24, 2022
@viduship viduship reopened this May 24, 2022
@viduship viduship force-pushed the vidushi-b3 branch 2 times, most recently from 2e76697 to 82daa86 Compare May 25, 2022 10:06
Signed-off-by: viduship <viduship vimishra@redhat.com>
@psathyan
Copy link
Contributor

Looks good to me

@mergify mergify bot merged commit 3778686 into red-hat-storage:master May 25, 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

3 participants