Skip to content

[reconfigurator] add the rendezvous_sled_bp_availability table - #11115

Merged
sunshowers merged 3 commits into
mainfrom
sunshowers/spr/reconfigurator-add-the-rendezvous_sled_bp_availability-table
Aug 20, 2026
Merged

sunshowers merged 3 commits into
mainfrom
sunshowers/spr/reconfigurator-add-the-rendezvous_sled_bp_availability-table

Conversation

@sunshowers

@sunshowers sunshowers commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

Add the rendezvous_sled_bp_availability table from RFD 666, which records the set of sleds available for provisioning new instances. Also extend the blueprint_rendezvous background task with a reconciler that populates it from the current target blueprint's per-sled update disposition.

One divergence from RFD 666 is that the new rendezvous table is not a complete replacement for the sled table from the perspective of instance allocation -- instead, allocation will check both the sled table and this new one. I investigated making the rendezvous table to make it the only source of truth, but it blew up the complexity of the rendezvous reconciliation quite massively. More specifically, there's a lot of data in the sled table that allocation needs that doesn't live in the blueprint. The options are:

  • Put that data in the blueprint, which seems like going pretty far beyond the purpose of blueprints.
  • Turn this new rendezvous task into a multi-input thing -- but there isn't a generation number to guard duelling Nexuses working with the sled table.
    • Even if we did add a generation number to the sled table, within the reconciler task we'd need to treat the sled table generation number and the update disposition generation as a pair, and reason through all possibilities here.

Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1

@jgallagher jgallagher 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.

This looks great; just a handful of nits/questions.

}
stats.num_not_in_blueprint = num_not_in_blueprint;

Ok(stats)

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.

Should we info! the stats before returning?

@sunshowers sunshowers Aug 20, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

maybe -- though the other rendezvous reconcilers don't log either. If we want to do logging, I'd want to do this at the overall rendezvous bg task level.

Created using spr 1.3.6-beta.1
@sunshowers
sunshowers enabled auto-merge (squash) August 20, 2026 23:01
@sunshowers
sunshowers merged commit ed58454 into main Aug 20, 2026
20 checks passed
@sunshowers
sunshowers deleted the sunshowers/spr/reconfigurator-add-the-rendezvous_sled_bp_availability-table branch August 20, 2026 23:57
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