reconfigurator: Ensure all durable datasets, not just crucible#6065
Merged
Conversation
smklein
approved these changes
Jul 12, 2024
smklein
left a comment
Collaborator
There was a problem hiding this comment.
Thanks for quickly patching this!
I'm happy to tackle the "removal of datasets" portion of this, which I think also makes sense as part of the execution stage of the reconfigurator
Contributor
Author
|
Confirmed this works on a4x2 by manually adding a blueprint with a sixth CRDB zone, making it the target, and seeing the sixth dataset show up (the last row): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reconfigurator currently ensures a
Datasetrow exists for all crucible zones, but fails to do so for other zones with durable datasets (notably Cockroach, which we now support adding and expunging!). This PR fixes that.I think we also need reconfigurator to learn how to delete dataset rows for expunged zones, right? That will be a followup PR.