Repository navigation
umbrella: rgw: fix period's sync_status during failover/failback - #73448
Merged
Merged
Conversation
added 2 commits
November 3, 2026 14:15
to prevent out-of-bounds access sync_status can be empty during a failback. Signed-off-by: Shilpa Jagannath <[email protected]> (cherry picked from commit 63be44a)
…zone change period update --commit after `zone modify --master` already treats this zone as meta master, so RGWMetaSyncStatusManager does not read mdlog.sync-status and the new period stores an empty sync_status. other zones can incorrectly read that empty status. read mdlog sync status from the local zone in the update_sync_status() method which is called only when the period's master zone changes. add a test case for failover/failback Signed-off-by: Shilpa Jagannath <[email protected]> (cherry picked from commit e1247bc)
4 of 14 tasks
|
Thank you for your contribution. Since you are not yet a member of the Ceph organization with write permissions on ceph/ceph.git, our CI will not automatically run. Any member of the Ceph organization may label this PR |
adamemerson
approved these changes
Nov 10, 2026
Contributor
|
This PR has been added to wip-anrao19-testing-2026-11-11-0646-umbrella. |
Contributor
pr testing completed and approved by @ivancich more details on :https://tracker.ceph.com/issues/83032 |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
backport tracker: https://tracker.ceph.com/issues/82614
backport of #71707
parent tracker: https://tracker.ceph.com/issues/80439
this backport was staged manually
Clean cherry-pick of 63be44a and e1247bc, no conflicts, added and
removed lines identical to main. Umbrella was branched before #71707 merged and
has the same bug as main had: a master zone change is refused with a false
"zone is N period(s) behind", and after a forced one the secondaries abort in
RGWMetaSyncCR::operate. The tentacle backport is #72687 (that one needed ahand port, umbrella doesn't).
Tested on vstart (mstart, 3 zones, 1 gateway per zone):
set_master_zone(z2): "This zone is 2 period(s) behind the current masterzone in metadata sync", "failed to commit period: (22) Invalid argument"
no radosgw crash
the meta checkpoint for the third zone; its gateway aborts twice per run in
the
meta-syncthread inRGWMetaSyncCR::operate, the crash from the tracker#73447 (umbrella backport of #72671) is the other half of the multisite fixes
these tests exercise on umbrella.
Checklist