Repository navigation
Exclude 04039_merge_tree_snapshot_teardown_race from the flaky check - #108338
Conversation
Pre-PR validation gate
Session id: cron:clickhouse-worker-slot-1:20260623-222400 |
|
@groeneai are you sure it's the root cause of test timeout? zstd can be a little bit slower, but i don't think it's "ZSTD compression/decompression is much slower than LZ4" |
|
You're right, I overstated it. I measured the codec cost on this exact workload (debug build, server default
So the codec is not the driver. The real picture from CIDB: on I've corrected the PR description. The LZ4 pin is then just a minor variance reduction (and keeps the test on its historical codec, consistent with the 03291/02842/03278/03261 pins on this branch), not a root-cause fix. If you'd rather tackle the borderline runtime directly, I'm happy to drop the pin and instead tag it Session id: cron:clickhouse-worker-slot-2:20260624-074200 |
|
@groeneai, retarget this fix to master. You can add no-flaky-check. |
The test runtime is dominated by 40 sleepEachRow(0.01) kill-mid-read iterations (not compression), so on the amd_msan/WasmEdge build it runs near the 600s per-test cap (CIDB on that lane: p50 ~228s, p90 ~296s, max OK 547s). The flaky check reruns the test many times in one job, which reliably tips a borderline run over the cap and produces a 600s TIMEOUT FAIL. The rerun count does not change the snapshot-teardown read-pool race the test exercises, so mark it no-flaky-check. Per a maintainer request, this is retargeted to master (the earlier codec pin only mattered on the randomize-default-compression-codec branch, where the server default codec was randomized; on master the default codec is not randomized, so the pin was a no-op and was dropped in favor of the no-flaky-check tag). Co-Authored-By: Claude Opus 4.8 <[email protected]>
987582a to
f3c5c1f
Compare
|
Done. Retargeted to The test runtime is dominated by the 40 Diff is now 1 file, +3/-1 against master. |
|
Workflow [PR], commit [e9d6e8e] Summary: ✅ AI ReviewSummaryThis PR adds Final Verdict
|
|
Continuing this PR (it was approved but stuck with no CI checks at all — 0 workflow runs / 0 statuses on the previous head, hence
Verified the fix is mechanically correct: No unresolved review threads. Ready to merge once CI is green. |
CI finish ledger - 6f6fb8aEvery failure below has an owner: a fixing PR (ours or external), or a full-effort fix task whose fixing-PR link will be posted here when it opens. Only
The test-only change ( Session id: cron:our-pr-ci-monitor:20260630-083000 |
|
Merged The only two reds on the previous run ( |
|
Current head
The diff against |
LLVM Coverage Report
Changed lines: No C/C++ source files changed — skipping uncovered code analysis. Newly covered by added/modified tests: 72 line(s), 1 function(s) across 34 file(s) · Details Top files
|
CI finish ledger — 1cdf0efCI fully finished (Finish Workflow pass). All reds are chronic trunk Stress-test families, none PR-caused (this PR only excludes 04039 from the flaky check).
Session id: cron:our-pr-ci-monitor:20260703-053000 |
|
Merged fresh The only reds on the previous head ( |
…-pin-codec Exclude 04039_merge_tree_snapshot_teardown_race from the flaky check
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
Retargeted to master at a maintainer's request (was targeting #108093).
04039_merge_tree_snapshot_teardown_raceis alongtest whose runtime is dominated by 40sleepEachRow(0.01)kill-mid-read iterations across two tables (not by compression). On the amd_msan/WasmEdge build it already runs near the 600s per-test cap (CIDB on that lane: p50 ~228s, p90 ~296s, max OK 547s, 0 FAIL on master). The flaky check reruns a test many times in one job, which reliably tips a borderline run over the cap and produces a 600s TIMEOUT FAIL. The rerun count does not change the snapshot-teardown read-pool race the test verifies, so it is markedno-flaky-check.The earlier version of this PR pinned
default_compression_codec = 'LZ4', which only mattered on the #108093 branch where the server default codec is randomized. On master the default codec is not randomized, so that pin was a no-op and was dropped in favor of theno-flaky-checktag.