Skip to content
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

Discretionary single-node ClickHouse zones #6800

Merged
merged 5 commits into from
Oct 10, 2024
Merged

Conversation

plotnick
Copy link
Contributor

@plotnick plotnick commented Oct 8, 2024

Automatically allocate one single-node ClickHouse zone.

This is almost completely independent of the ongoing multi-node ClickHouse Server/Keeper work, except that we try to respect the new ClickhousePolicy::deploy_with_standalone flag if present.

Validated on a4x2 by manually expunging the sole ClickHouse zone in the current blueprint and then regenerating.

Copy link
Contributor

@andrewjstone andrewjstone left a comment

Choose a reason for hiding this comment

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

Awesome stuff. Thanks so much @plotnick!

sled-agent/src/rack_setup/plan/service.rs Show resolved Hide resolved
nexus/reconfigurator/planning/src/planner.rs Outdated Show resolved Hide resolved
@davepacheco davepacheco added this to the 12 milestone Oct 8, 2024
Reverts commit `0b4dcd3d4f899932e14599217012f8553798b9a1` in favor
of this approach. The alternative would be to add similar policy
assignments to the other failing tests.
Copy link
Contributor

@andrewjstone andrewjstone left a comment

Choose a reason for hiding this comment

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

Changes look good

@plotnick plotnick merged commit 686752b into main Oct 10, 2024
16 checks passed
@plotnick plotnick deleted the discretionary-clickhouse branch October 10, 2024 22: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.

4 participants