Skip to content

tentacle: mgr/progress: compare up set instead of acting set - #68433

Merged
batrick merged 1 commit into
ceph:tentaclefrom
kamoltat:wip-73503-tentacle
Nov 25, 2026
Merged

batrick merged 1 commit into
ceph:tentaclefrom
kamoltat:wip-73503-tentacle

Conversation

@kamoltat

Copy link
Copy Markdown
Member

Problem:
The progress module failed to trigger when OSDs were reweighted
to 0. We were comparing old vs new acting sets after wrapping
them with set(), which discards ordering. As a result, a rotation
such as:

  old acting = [1,2,3,4]
  new acting = [2,3,4,1]

was reduced to the same unordered set {1,2,3,4}, and no change
was detected. Additionally, the acting set from OSDMap naturally
retains stale OSDs, so stale entries were not discarded.

Solution:
Compare the up set instead, which both preserves ordering and
drops stale OSDs. This ensures rotations and membership changes
are correctly detected. Also removed set() usage in
_osd_in_out() and tightened logging to reduce noise.

Fixes: https://tracker.ceph.com/issues/72647

Signed-off-by: Kamoltat Sirivadhna <[email protected]>
(cherry picked from commit d13d739)
@kamoltat kamoltat added this to the tentacle milestone Apr 16, 2026
@kamoltat kamoltat added the core label Apr 16, 2026
@kamoltat
kamoltat requested a review from a team April 16, 2026 21:37
@kamoltat

Copy link
Copy Markdown
Member Author

jenkins test api

@batrick batrick added releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-queue Release engineering: queued for backport verification audit. labels May 2, 2026
@batrick batrick removed the releng-audit-pass Release engineering: passed backport verification audit. label Jul 16, 2026
@github-actions github-actions Bot added the releng-audit-pass Release engineering: passed backport verification audit. label Jul 16, 2026

@bill-scales bill-scales left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - Straightforward back port

@yuriw

yuriw commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri4-testing-20261009.171448-tentacle.

@ronen-fr

Copy link
Copy Markdown
Contributor

@kamoltat kamoltat added needs-merge QA-approved, awaiting merge window and removed needs-qa needs-review labels Oct 16, 2026
@batrick batrick modified the milestones: tentacle, v20.2.6 Nov 25, 2026
@batrick
batrick merged commit 8380ff4 into ceph:tentacle Nov 25, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core needs-merge QA-approved, awaiting merge window pybind ready-to-merge releng-audit-pass Release engineering: passed backport verification audit.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants