-
Notifications
You must be signed in to change notification settings - Fork 45
[nexus] Use cockroachdb range stats in reconfigurator planner #8441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: range-in-inventory
Are you sure you want to change the base?
Conversation
pub(crate) fn zone_image_source( | ||
&self, | ||
zone_id: Option<OmicronZoneUuid>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make this parameter mandatory and always do the check in zone_should_use_new_repo
? It seems confusing to have to decide at each call site whether to pass the zone_id
in or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure thing; I didn't know if the zone_id
would be accessible everywhere, but it seems like it is.
Agreed this is better as a non-Optional argument.
Updates the reconfigurator to evaluate cockroachdb cluster health before upgrading zones
Only updates zones if:
Builds on #8379 and #8426