Description
✅ I checked the Altinity Stable Builds lifecycle table, and the Altinity Stable Build version I'm using is still supported.
Type of problem
Bug report — CI configuration, not product code
Describe the situation
Both ClickBench jobs fail at Load the data on the release run for v26.3.33.10001.altinitystable. The server rejects the cache disk that ClickBench's create.sql attaches.
The bump to v26.3.33.24-lts (#2357) brought the backport of upstream #99138, which stops an explicit ATTACH TABLE ... (definition) from bypassing filesystem-cache path validation. Upstream shipped the matching CI fix two days later in #105088. The 26.3 line got the behaviour change without it.
This issue:
- Breaks
ClickBench (amd_release)andClickBench (arm_release)equally, on every run - Is not a product bug — ClickHouse behaves as Dynamic disk restricting settings ClickHouse/ClickHouse#99138 intends
- Affects upstream's own
26.3branch too, which has the same gap
How to reproduce
Version: 26.3.33.10001.altinitystable · Build: release · Job: ClickBench (amd_release)
Run the ClickBench job on stable-26.3. It fails on the first statement of ci/jobs/scripts/clickbench/create.sql:
ATTACH TABLE hits UUID 'c449dfbf-ba06-4d13-abec-8396559eb955' (...)
ENGINE = MergeTree
SETTINGS disk = disk(type = cache, path = '/dev/shm/clickhouse/', max_size = '16G',
disk = disk(type = web, endpoint = 'https://clickhouse-datasets-web.s3.us-east-1.amazonaws.com/'));Expected behavior
The table attaches and the benchmark queries run, as on every run before the bump.
Actual behavior
Code: 36. DB::Exception: Filesystem cache absolute path must lie inside `/tmp/filesystem_caches/`,
but have /dev/shm/clickhouse/: While processing disk(type = cache, path = '/dev/shm/clickhouse/', ...)
(BAD_ARGUMENTS)
Root cause analysis
src/Disks/DiskObjectStorage/RegisterDiskCache.cpp validates the cache path against custom_cached_disks_base_directory, and skips the check when the disk comes from an attach:
if (!is_attach && !pathStartsWith(file_cache_settings[FileCacheSetting::path].value,
cache_path_prefix_if_absolute))
throw Exception(ErrorCodes::BAD_ARGUMENTS,
"Filesystem cache absolute path must lie inside `{}`, but have {}", ...);Upstream ClickHouse#99138 renamed that parameter in MergeTreeSettings::loadFromQuery and narrowed what it means:
- auto disk_name = DiskFromAST::createCustomDisk(value_as_custom_ast, context, is_attach);
+ auto disk_name = DiskFromAST::createCustomDisk(value_as_custom_ast, context, is_loading_from_existing_metadata);It is now true only when the server loads its own stored metadata, not when a user issues ATTACH TABLE ... (definition). ClickBench issues exactly that, so the check now runs and rejects /dev/shm/clickhouse/.
The fix
Backport upstream #105088 (merge 48ea778c32e5) to stable-26.3. It touches two CI files and no product code:
- adds
ci/jobs/scripts/clickbench/filesystem_caches_path.xml, pointingfilesystem_caches_pathandcustom_cached_disks_base_directoryat/dev/shm/clickhouse/ - makes
ci/jobs/clickbench.pycopy that file intoconfig.d/
Additional context
CI failure
- Jobs:
ClickBench (amd_release),ClickBench (arm_release) - Branch / ref:
v26.3.33.10001.altinitystable - Commit:
cde98ffcf061cd23b49f1f65da841522b05c2e94 - Run: https://github.com/Altinity/ClickHouse/actions/runs/35342360645
- CI report: ci_run_report.html
- Logs: json.html · job.log
Merge window
| date | commit | branch | Load the data |
|---|---|---|---|
| 2026-09-17 | 0a634798937 |
stable-26.3 | success |
| 2026-09-18 | cde98ffcf06 |
v26.3.33.10001.altinitystable | failure |
The ClickHouse#99138 backport is commit 04fa8a3a879 (2026-07-21). It is not an ancestor of 0a634798937 and is an ancestor of cde98ffcf06.
Which branches have which half
| branch | ClickHouse#99138 (behaviour) | ClickHouse#105088 (CI fix) | ClickBench |
|---|---|---|---|
ClickHouse/ClickHouse:26.3 |
yes | no | broken |
Altinity/ClickHouse:stable-26.3 |
yes | no | broken |
| upstream 26.6, 26.8 | yes | yes | ok |
antalya-26.6, antalya-26.8 |
yes | yes | ok |
antalya-26.3 |
no | no | ok — has neither |
Related PRs
- Stable 26.3: Bump to 26.3.33 #2357 — bump to
v26.3.33.24-lts, the merge that brought the change in - Dynamic disk restricting settings ClickHouse/ClickHouse#99138 —
Dynamic disk restricting settings - Fix ClickBench job: allow
/dev/shm/clickhouse/as filesystem cache path ClickHouse/ClickHouse#105088 —Fix ClickBench job: allow /dev/shm/clickhouse/ as filesystem cache path
Activity
CarlosFelipeOR commentedon Sep 22, 2026
Fixed by #2411 and #2413