Skip to content

umbrella: rbd-mirror: fix strict weak ordering in PeerSpec::operator< - #70590

Merged
batrick merged 1 commit into
ceph:umbrellafrom
idryomov:wip-78049-umbrella
Jul 30, 2026
Merged

batrick merged 1 commit into
ceph:umbrellafrom
idryomov:wip-78049-umbrella

Conversation

@idryomov

Copy link
Copy Markdown
Contributor

The mon_host tier branched on "mon_host < rhs.mon_host" but returned the
same comparison, so mon_host > rhs.mon_host fell through to key, both
a < b and b < a could hold.

Only Mirror::m_pool_replayers reaches operator< (via std::pair key).

Fixes: https://tracker.ceph.com/issues/78049
Signed-off-by: Sun Yuechi <[email protected]>
(cherry picked from commit ad6de06)
@idryomov idryomov added this to the v21.1.1 milestone Jul 27, 2026
@idryomov
idryomov requested a review from a team as a code owner July 27, 2026 18:03
@github-actions github-actions Bot added rbd releng-audit-pass Release engineering: passed backport verification audit. labels Jul 27, 2026
@yuriw

yuriw commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri5-testing-20260728.193509-umbrella.

@batrick
batrick merged commit 782ab67 into ceph:umbrella Jul 30, 2026
9 of 10 checks passed
@idryomov
idryomov deleted the wip-78049-umbrella branch July 30, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-qa rbd releng-audit-pass Release engineering: passed backport verification audit. wip-yuri5-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants