<fix>[mn]: synchronize hash ring operations#4432
Conversation
Backport the management node hash ring fix to 5.4.10. 1. Why? Management node lifecycle reconciliation can race with callbacks. This can cause NodeHash or Nodes inconsistency and task stalling. 2. How? Synchronize hash ring operations and use defensive copies. Add lifecycle reconciliation locking and two-round missing checks. 3. Side effects? Management node lifecycle operations are serialized by a local lock. # Summary of changes (by module): - core: synchronize resource destination hash ring operations. - portal: serialize management node lifecycle reconciliation. Source-Commit: 66ab572 Related: ZSTAC-86294, ZSTAC-78182 Change-Id: I3ba21ffc7b8f1284e17d50da7b027ffdad70828b
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 50 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
Warning
|
ZSTAC-86294
Summary
Backport the ZSTAC-78182 zstack fix to 5.4.10.
Root Cause
Management node lifecycle reconciliation can race with lifecycle callbacks, causing NodeHash/Nodes inconsistency and task stalling.
Fix
Synchronize ResourceDestinationMaker hash ring operations and serialize management node lifecycle reconciliation with two-round missing-node confirmation.
Verification
git diff --check upstream/5.4.10..HEADpassed.Related: ZSTAC-86294, ZSTAC-78182
sync from gitlab !10394