Project

General

Profile

Actions

Bug #78049

closed
YS YS

rbd-mirror: strict weak ordering in PeerSpec::operator<

Bug #78049: rbd-mirror: strict weak ordering in PeerSpec::operator<

Added by Yuechi Sun 5 months ago. Updated 3 months ago.

Status:
Backporting
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
squid,tentacle,umbrella
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-1061-g50402b0596
Released In:
Upkeep Timestamp:
2026-08-27T18:41:16+00:00

Description

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).


Related issues 3 (1 open — 2 closed)

Copied to rbd - Backport #78270: tentacle: rbd-mirror: strict weak ordering in PeerSpec::operator<NewYuechi Sun

Actions
Copied to rbd - Backport #78271: umbrella: rbd-mirror: strict weak ordering in PeerSpec::operator<ResolvedIlya Dryomov

Actions
Copied to rbd - Backport #78272: squid: rbd-mirror: strict weak ordering in PeerSpec::operator<ResolvedIlya Dryomov

Actions

ID Updated by Ilya Dryomov 5 months ago Actions #1

  • Status changed from New to Fix Under Review
  • Assignee set to Yuechi Sun
  • Backport set to squid,tentacle,umbrella

UB Updated by Upkeep Bot 5 months ago Actions #2

  • Status changed from Fix Under Review to Pending Backport
  • Merge Commit set to 50402b0596be1e69f6a435480a7630ad74e79765
  • Fixed In set to v21.3.0-1061-g50402b0596
  • Upkeep Timestamp set to 2026-07-15T22:24:04+00:00

UB Updated by Upkeep Bot 5 months ago Actions #3

  • Copied to Backport #78270: tentacle: rbd-mirror: strict weak ordering in PeerSpec::operator< added

UB Updated by Upkeep Bot 5 months ago Actions #4

  • Copied to Backport #78271: umbrella: rbd-mirror: strict weak ordering in PeerSpec::operator< added

UB Updated by Upkeep Bot 5 months ago Actions #5

  • Copied to Backport #78272: squid: rbd-mirror: strict weak ordering in PeerSpec::operator< added

UB Updated by Upkeep Bot 5 months ago Actions #6

  • Tags (freeform) set to backport_processed

ID Updated by Ilya Dryomov 5 months ago Actions #7

  • Project changed from Ceph to rbd

UB Updated by Upkeep Bot 3 months ago Actions #8

  • Status changed from Pending Backport to Backporting
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-07-15T22:24:04+00:00 to 2026-08-27T18:41:16+00:00
Actions

Also available in: PDF Atom