Skip to content

[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

Draft
wants to merge 3 commits into
base: range-in-inventory
Choose a base branch
from

Conversation

smklein
Copy link
Collaborator

@smklein smklein commented Jun 24, 2025

No description provided.

pub(crate) fn zone_image_source(
&self,
zone_id: Option<OmicronZoneUuid>,
Copy link
Contributor

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.

Copy link
Collaborator Author

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.

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