Repository navigation
Fix flaky test 03100_lwu_41_bytes_limits - #123765
PedroTadim merged 2 commits into
Conversation
With `index_granularity = 1` the test's 1,000,000-row insert builds a 1,000,000-mark compact part. On S3 the final SELECT then opens one GET per granule (419,437 GETs for 419,428 rows read in the failing `Stateless tests (arm_binary, ParallelReplicas, s3 storage, parallel)` run), and with `max_threads = 1` the parallel-replica followers die on the 300 s receive timeout, so the test hits the 600 s limit. The test checks `max_uncompressed_bytes_in_patches`, which does not depend on granularity. Apply the lower bounds the runner already uses for `long` tests and slow builds (e185707), keeping both settings randomized above them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Internal second-model review: adjudication log (click to expand)Pre-publication review by an independent model (engine: codex; 0 findings) plus my own cold review (2 nits).
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-8:20261003-204800 |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-41:20261003-195700 |
|
Workflow [PR], commit [dd1088a] Summary: ✅ AI ReviewSummaryThis PR makes Final Verdict
|
CI finish ledger - 0f2841cEvery failure below has an owner: a fixing PR (mine or external), or a full-effort fix task
The diff is one test file. All checks completed; CIDB has no other Session id: cron:our-pr-ci-monitor:20261004-000624 |
Related: #123693
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Bound the randomized
index_granularityandindex_granularity_bytesin the test03100_lwu_41_bytes_limits.Description
03100_lwu_41_bytes_limitstimed out (600 s) in Stateless tests (arm_binary, ParallelReplicas, s3 storage, parallel). The runner's own rerun reproduced it with the same draw and passed 56/56 without randomization.The MergeTree randomizer drew
index_granularity = 1, so the 1,000,000-row insert built a 1,000,000-mark compact part on S3. The finalSELECT ... WHERE s = 'foo'then opened one S3 GET per granule (419,437 GETs for 419,428 rows read, 546 s inReadBufferFromS3::initialize). Withmax_threads = 1the parallel-replica followers got no task and died on the 300 s receive timeout.The test checks
max_uncompressed_bytes_in_patches, which does not depend on granularity. This adds-- Random settings limits: index_granularity=(100, None); index_granularity_bytes=(100000, None), in line with the lower bounds the runner already applies tolongtests and slow builds (100 rows, 100 KiB; e185707). 18 other tests carry this exact line. Granularity stays randomized above the bounds.Validation (debug build, local MinIO, the lane's parallel-replicas cluster):
index_granularity = 100: OK in 26 s (SELECT: 8,984 GETs for 1,000,000 rows).Workflow [PR]
Sync PR [sync-upstream/pr/123765]
Version info
26.10.1.1692-master(included in26.10and later)