Repository navigation
Perf CI: remove the parts the hits rebuild replaces before the tests start - #131429
Merged
m7kss1 merged 1 commit intoNov 24, 2026
Merged
Conversation
…start The Populate step rebuilds the hits datasets with a 16-thread INSERT and OPTIMIZE FINAL. The parts that the merges replace stay on disk for old_parts_lifetime (480 s) and are removed only at the next pass of the table's cleanup thread, which sleeps up to max_cleanup_delay_period (300 s). So both servers start the tests with about 71 GiB of replaced parts on the shared disk, and codecs_float_insert fails with "Cannot reserve 8.48 MiB, not enough space": https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=129975&sha=087475f62ba2fbadcf15166ee3bcb35996667270&name_0=PR&name_1=Performance%20Comparison%20%28arm_release%2C%20master_head%2C%206%2F6%29 Set old_parts_lifetime = 0 on the rebuilt table, wake its cleanup thread after OPTIMIZE FINAL until system.parts lists no non-Active part (120 s bound, a timeout fails Populate), and reset the setting with use_const_adaptive_granularity. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Author
Internal second-model review (click to expand)Gate B (second model, cold) and my own review of
|
Collaborator
Author
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-40:20261113-200600 |
Contributor
|
Workflow [PR], commit [138d361] Summary: ✅
AI ReviewSummaryThe PR temporarily sets Missing context / blind spots
Final Verdict✅ Approve |
This was referenced Nov 15, 2026
This was referenced Nov 21, 2026
Merged
via the queue into
ClickHouse:master
with commit Nov 24, 2026
cd11f22
410 of 411 checks passed
groeneai
pushed a commit
to groeneai/ClickHouse
that referenced
this pull request
Nov 25, 2026
The `Tests` stage of the performance comparison job prints the free space of the filesystem that holds `perf_wd` before every test. Both servers store their data there, so a `Cannot reserve ..., not enough space` failure can be traced to what was free when the test started. Related: ClickHouse#131429 Co-Authored-By: Claude Fable 5.2 <[email protected]>
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.
Related: #129975
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Not required: CI-only change.
Description
Performance Comparison (arm_release, master_head)PR shards fail withcodecs_float_insert ... Code: 243. Cannot reserve 8.48 MiB, not enough space(#129975, 6/6); 4 jobs on 3 unrelated PRs since 2026-11-11.The Populate step rebuilds the hits datasets with a 16-thread
INSERT ... SELECTandOPTIMIZE FINAL. Every part that the merges replace stays on disk as Outdated forold_parts_lifetime(480 s), and is then removed only at the next pass of the table's cleanup thread, which sleeps up tomax_cleanup_delay_period(300 s). In that job both servers still held about 71 GiB of such parts when the tests started (27.5 GiB free),codecs_float_insertused up the rest, and the first replaced parts were removed 15 seconds after it failed.rebuild_tablenow setsold_parts_lifetime = 0on the table it builds, and afterOPTIMIZE FINALrunsSYSTEM START CLEANUPuntilsystem.partslists no part of the table outsideActive(bounded by 120 s; a timeout fails Populate, like the other statements there). The setting is reset together withuse_const_adaptive_granularity, so the final table definition is unchanged.Validated locally by calling
rebuild_tableon a 30M-row table, in place and cross name: before, it returned with 33 Outdated parts (455 MB, 9.5x the live data) on disk; after, with none, removed within 0.1 s ofOPTIMIZE FINAL, adding about a second. Without the setting the new wait times out, so its check can fail.Workflow [PR]
Sync PR [sync-upstream/pr/131429]
Version info
26.12.1.400-master(included in26.12and later)