Repository navigation
Fix ClickBench job: allow /dev/shm/clickhouse/ as filesystem cache path - #105088
Merged
Merged
Conversation
…path
ClickBench's `create.sql` attaches the `hits` table on a cached disk
rooted at `/dev/shm/clickhouse/`, but the default server config restricts
filesystem cache paths to `/tmp/filesystem_caches/`. The validation in
`RegisterDiskCache.cpp` therefore rejected the `ATTACH TABLE` with:
Code: 36. Filesystem cache absolute path must lie inside
`/tmp/filesystem_caches/`, but have /dev/shm/clickhouse/.
Override `filesystem_caches_path` and `custom_cached_disks_base_directory`
in the ClickBench install to match what `create.sql` uses.
Report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?REF=master&sha=75fa606f4590bda023a727a000555ca8622b4266&name_0=MasterCI&name_1=ClickBench%20%28arm_release%29
Contributor
|
Workflow [PR], commit [ba7b18a] Summary: ✅ AI ReviewSummaryThis PR updates the Final VerdictStatus: ✅ Approve |
Drop the override from the shared `install_clickbench_config` helper in `ClickHouseProc` (the vector-search jobs reuse that method and don't need it) and ship the matching server config as `ci/jobs/scripts/clickbench/filesystem_caches_path.xml`, co-located with `create.sql`. `ci/jobs/clickbench.py` copies it into `config.d/` after the install step. This keeps the disk path declared in `create.sql` and the allowed- directory setting in one place.
alexey-milovidov
enabled auto-merge
May 15, 2026 23:19
10 of 30 tasks
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.
The ClickBench job fails on master while attaching the
hitstable:ci/jobs/scripts/clickbench/create.sqlmounts a cached disk at/dev/shm/clickhouse/, but the defaultserver config (
programs/server/config.d/filesystem_caches_path.xml) pins bothfilesystem_caches_pathand
custom_cached_disks_base_directoryto/tmp/filesystem_caches/, andRegisterDiskCache.cpprejects any cache disk outside that root.
Override the two settings in
install_clickbench_configso the allowed directory matches the path theClickBench
create.sqlactually uses.Report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?REF=master&sha=75fa606f4590bda023a727a000555ca8622b4266&name_0=MasterCI&name_1=ClickBench%20%28arm_release%29
Changelog category (leave one):
Version info
26.5.1.699