Repository navigation
Conversation
…ee timeout Pin max_threads = 2 to prevent timeout on sanitizer builds. With max_threads=1 (randomized), reading 80+ JSON subcolumn queries over compact MergeTree exceeds the 600s test timeout on TSAN/ASAN builds (which add 10-20x overhead). The test takes 200-457s normally and hits exactly 600070ms with max_threads=1. The test verifies JSON subcolumn read correctness on compact MergeTree, not single-threaded performance.
Pre-PR Validation GateSession: a) Deterministic repro? b) Root cause explained? c) Fix matches root cause? d) Test intent preserved? e) Both directions demonstrated?
|
|
cc @Avogar — could you review this? It pins max_threads=2 in your 03469 JSON combined subcolumns test (compact MergeTree variant) to prevent timeout on TSAN/ASAN builds when max_threads is randomized to 1. |
|
Workflow [PR], commit [86ee9f6] Summary: ❌
AI ReviewSummaryThis PR updates Findings❌ Blockers
ClickHouse Rules
Final Verdict
|
Per @Avogar's review: the timeout is caused by tiny randomized index_granularity, not by max_threads=1. Keep max_threads randomized so it can find parallel reading bugs. Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
@groeneai update PR description with new changes |
121fdd7
|
Updated PR description to reflect the current approach (Random settings limits for index_granularity/index_granularity_bytes, no max_threads pin). |
Add
Random settings limitsforindex_granularityandindex_granularity_bytesto prevent timeout on sanitizer builds.
When CI randomizes very small
index_granularityorindex_granularity_bytesvalues, the compact MergeTree table produces a large number of granules. Reading
80+ JSON subcolumn queries over those granules exceeds the 600s test timeout on
TSAN and ASAN builds. All 3 CI failures (30-day CIDB window) hit exactly 600070ms.
The
Random settings limitstag constrainsindex_granularity >= 100andindex_granularity_bytes >= 100000, preventing the excessive granule count whilekeeping
max_threadsand all other settings fully randomized — preservingcoverage for parallel reading bugs in JSON subcolumns.
Also normalizes
set→SETcasing for consistency.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Documentation entry for user-facing changes
Version info
26.4.1.804