Repository navigation
Shrink 03291_json_big_structure_deserialization fixture to fix tsan/s3 timeout - #110100
alexey-milovidov merged 2 commits into
Conversation
…3 timeout The 10000-row x 5000-char-key fixture produced a 146 MiB Wide part whose Object structure stream took 600s to deserialize under tsan/s3, timing out (FAIL on master 2026-07-09, amd_tsan s3). Shrink to 20 rows x 100-char keys: still a Wide part with a multi-mark Object structure stream (marks=2, read via the MergeTreeReaderStream getRightOffset is_metadata path), so the regression guard is preserved, but the part is 11 KiB and the test runs in 0.2s. The multi-mark structure stream comes from max_compress_block_size=128, not row count, so it is unaffected by the shrink. Removes the long/no-flaky-check heaviness workarounds (obsolete now the fixture is tiny). Co-Authored-By: Claude Opus 4.8 <[email protected]>
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-worker-slot-5:20260711-161300 |
|
cc @Avogar — could you review this? It shrinks the 03291_json_big_structure_deserialization fixture (10000x5000-char keys, 146 MiB Wide part) to 20x100-char keys to fix the 600s tsan/s3 timeout, while keeping the regression-guard coverage (Wide part + multi-mark JSON Object structure stream, driven by max_compress_block_size=128, not row count). |
|
Workflow [PR], commit [798d229] Summary: ✅ AI ReviewSummaryThis PR shrinks Missing context / blind spots
Final Verdict✅ No blocking issues found. |
CI finish ledger — 7258551Every 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
Notes: the amd_debug flaky-check job failed in SETUP, not in the test — a leftover clickhouse-server/keeper from a prior iteration held all ports ( Session id: cron:our-pr-ci-monitor:20260712-010000 |
CI finish ledger — 798d229Every failure below has an owner: a fixing PR (ours or external), or a full-effort fix task All 174 checks completed with no failures.
Session id: cron:our-pr-ci-monitor:20260729-053000 |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
03291_json_big_structure_deserializationtimes out onStateless tests (amd_tsan, s3 storage, parallel). Latest master FAIL: 2026-07-09, rc=160 TIMEOUT (600s), report https://s3.amazonaws.com/clickhouse-test-reports/json.html?REF=master&sha=8a863a7cc54952795148dcd2eba58fdcd5480ec5&name_0=MasterCI&name_1=Stateless%20tests%20%28amd_tsan%2C%20s3%20storage%2C%20parallel%2C%201%2F2%29The
long/no-flaky-checktags + LZ4 codec pin from #108093 stopped the flaky-check and OOM modes but did not fix the non-flaky-check tsan/s3 600s process timeout: thelongtag exempts the 180s TOO_LONG limit, not the 600s process timeout.Root cause: the 10000-row x 5000-char-key fixture produces a 146 MiB Wide part whose Object structure stream is too slow to deserialize under tsan (~20x) on s3.
Fix: shrink the fixture to 20 rows x 100-char keys. The test is a regression guard for reading a Wide part whose
JSON(max_dynamic_paths=0)Object structure stream is read via theMergeTreeReaderStream::getRightOffsetis_metadatapath (right_mark < marks_count). That coverage comes frommax_compress_block_size=128(which forces the structure stream to have multiple marks), not from the row count. Verified locally: the shrunk fixture is still a Wide part with a 2-mark JSON column (multi-mark structure stream), part is 11 KiB (was 146 MiB), and the test runs in 0.2s (30/30 runs pass with randomization). The heaviness workarounds (long,no-flaky-check) are removed since the fixture is now tiny; the LZ4 codec pin is kept for determinism under server-side codec randomization.