-
Notifications
You must be signed in to change notification settings - Fork 40
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
Upgrade clickhouse from v22.8.9.24 to v23.8.7.24 #5127
Conversation
e7b5db6
to
9065a89
Compare
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.
Looks good to me, thanks for pushing on this!
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.
Thanks for looking into this, and also for cleaning up the tests!
I booted a fresh control plane with the following changes to the omicron repo: a/sled-agent/src/rack_setup/plan/service.rs
-const CLICKHOUSE_COUNT: usize = 1;
+const CLICKHOUSE_COUNT: usize = 2;
-const CLICKHOUSE_KEEPER_COUNT: usize = 0;
+const CLICKHOUSE_KEEPER_COUNT: usize = 3;
a/smf/clickhouse/method_script.sh
-single_node=true
+single_node=false and all five expected zones came up:
I logged into one of the keeper zones and connected to the keeper server, which looked good. I noticed that the PATH was not correctly set to find
I then logged into one of the clickhouse zones and verified that the cluster existed.
After creating and deleting some instances, the metrics appeared to work correctly. |
After #5127 (I assume, because this problem came up immediately after that) macOS Gatekeeper is putting the `clickhouse` binary in quarantine after download, which means we can't execute it unless we take it out of quarantine. This is apparently a new thing, as [this doc](https://github.com/ClickHouse/clickhouse-docs/blob/08d7a329d/knowledgebase/fix-developer-verification-error-in-macos.md) about how to do that was only [added Jan 9](ClickHouse/clickhouse-docs#1835). Here I am doing it in the simplest way possible: if mac, then remove quarantine attr. If anyone has a better way, I'm all ears.
The tests all now pass and I've deployed this to a bench gimlet and done some basic smoke tests.