coordinator: preserve stop operator on repeated warnings - #6135
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe change adds stop-operator classifications for current placements and stale owners. The controller now reuses compatible non-removing stop operators while creating new operators when stale-owner cleanup targets differ. Tests validate node targeting, epoch preservation, and cleanup replacement. ChangesStop operator reuse
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to The change is a localized coordinator behavior update, and no actionable merge-blocking risk remains after normal checks and review. Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Linked Issues checkExplanation The changes address issue Full details: Description checkExplanation The description includes the required issue reference, explains the stop operator behavior, identifies unit and integration tests, addresses the release note, and matches the pull request objectives. The two question fields are blank, but this is non-critical because the description is otherwise complete.
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: asddongmen, lidezhu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
|
In response to a cherrypick label: new pull request created to branch |
|
In response to a cherrypick label: new pull request created to branch |
What problem does this PR solve?
Issue Number: close #6134
What is changed and how it works?
Introduce a stop operator kind to distinguish current-placement stops from stale-owner cleanup.
Repeated non-removing stop requests now reuse the existing current-placement operator, preserving its target node and maintainer epoch. Stale-owner cleanup operators are not reused when the current owner needs to be stopped. This prevents maintainer recovery from getting stuck after repeated warning events.
Check List
Tests
Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Summary by CodeRabbit