Skip to content

[2/n] [reconfigurator] check for stale inventory in mupdate override set path#10409

Merged
sunshowers merged 4 commits intomainfrom
sunshowers/spr/2n-reconfigurator-check-for-stale-inventory-in-mupdate-override-set-path
May 8, 2026
Merged

[2/n] [reconfigurator] check for stale inventory in mupdate override set path#10409
sunshowers merged 4 commits intomainfrom
sunshowers/spr/2n-reconfigurator-check-for-stale-inventory-in-mupdate-override-set-path

Conversation

@sunshowers
Copy link
Copy Markdown
Contributor

@sunshowers sunshowers commented May 7, 2026

This fixes a bug similar to #10391: a planner running against a stale inventory collection that still shows a mupdate override (because that inventory was captured before the sled cleared the marker) would trigger BpSetOverride again, and undo RFD 556 state machine advancement that that a more recent plan had already completed.

The downside of this bug is less severe than #10391, though -- it is limited to zones getting reset to InstallDataset and having to set a target release again. So it is an important bug to fix, but (unlike #10391) doesn't need to be cherry-picked onto the release branch.

sunshowers added 2 commits May 7, 2026 15:09
Created using spr 1.3.6-beta.1

[skip ci]
Created using spr 1.3.6-beta.1
Copy link
Copy Markdown
Contributor

@jgallagher jgallagher left a comment

Choose a reason for hiding this comment

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

Looks great; test is very clear.

Comment thread nexus/reconfigurator/planning/src/blueprint_editor/sled_editor.rs Outdated
@sunshowers sunshowers changed the base branch from sunshowers/spr/main.2n-reconfigurator-check-for-stale-inventory-in-mupdate-override-set-path to main May 8, 2026 21:26
Created using spr 1.3.6-beta.1
@sunshowers sunshowers enabled auto-merge (squash) May 8, 2026 21:30
Created using spr 1.3.6-beta.1
@sunshowers sunshowers merged commit 0cdc7b9 into main May 8, 2026
16 checks passed
@sunshowers sunshowers deleted the sunshowers/spr/2n-reconfigurator-check-for-stale-inventory-in-mupdate-override-set-path branch May 8, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants