Skip to content

Bump clickhouse to latest patch.#10431

Open
jmcarp wants to merge 1 commit into
mainfrom
jmcarp/bump-clickhouse
Open

Bump clickhouse to latest patch.#10431
jmcarp wants to merge 1 commit into
mainfrom
jmcarp/bump-clickhouse

Conversation

@jmcarp
Copy link
Copy Markdown
Contributor

@jmcarp jmcarp commented May 11, 2026

We found in https://github.com/oxidecomputer/customer-support/issues/1101 that clickhouse runs a huge number of thread renames, which consure the majority of cpu time on some workloads. Since we don't need the debugging feature that this renaming supports, we patched out os-level thread renames in oxidecomputer/garbage-compactor#33. This patch updates omicron to fetch the latest clickhouse archive from s3. Note that we also introduce a hash-based suffix to the clickhouse version to represent changes in oxide-specific patches applied to the clickhouse source version.

Note that we also merged a more principled fix into upstream clickhouse for this issue: ClickHouse/ClickHouse#104410. Once we upgrade to a current clickhouse version, we'll drop the patch in garbage-compactor.

h/t as usual @wfchandler and @JustinAzoff for the investigation.

We found in oxidecomputer/customer-support#1101 that
clickhouse runs a huge number of thread renames, which consure the majority of
cpu time on some workloads. Since we don't need the debugging feature that this
renaming supports, we patched out os-level thread renames in
oxidecomputer/garbage-compactor#33. This patch updates
omicron to fetch the latest clickhouse archive from s3. Note that we also
introduce a hash-based suffix to the clickhouse version to represent changes in
oxide-specific patches applied to the clickhouse source version.

Note that we also merged a more principled fix into upstream clickhouse for
this issue: ClickHouse/ClickHouse#104410. Once we
upgrade to a current clickhouse version, we'll drop the patch in
garbage-compactor.

h/t as usual @wfchandler and @JustinAzoff for the investigation.
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.

1 participant