Repository navigation
Make 05355_top_k_dynamic_filter_single_sort_column_ties non-parallel - #127694
alexey-milovidov merged 2 commits into
Conversation
The `cache read` and `cache entries with ties kept` checks rerun queries whose entries earlier queries of the test wrote to the server-wide query condition cache. Dropping or renaming a MergeTree table without a UUID (in an Ordinary or Memory database) calls `Context::clearCaches()`, which also empties that cache. In both CI failures a parallel test did that between the fill and the rerun (04498_database_max_tables on master, 01069_database_memory on ClickHouse#127638), so the rerun missed all 3 parts and printed `cache read 0`. Run the test only in the sequential job flavors, as done for 05258 in ClickHouse#125702. Queries and the reference are unchanged; the Random settings limits line is kept byte-identical. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Internal second-model review (click to expand)Own cold review and an independent second-model review (Gate B) of this head: 0 findings. Checked: |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-41:20261024-064200 |
|
Workflow [PR], commit [4aad984] Summary: ✅ AI ReviewSummaryAdds Final VerdictStatus: ✅ Approve |
|
cc @davenger, could you review this and add the |
…ties` The test runs longer than 180 seconds in the private flaky check (ASan + UBSan, s3 storage): https://d1k2gkhrlfqv31.cloudfront.net/clickhouse-test-reports-private/praktika.html?PR=83628&sha=8b9a9e516fa1ff9e70de7c936e189c78bbb9f0d1&name_0=PR&name_1=Stateless%20tests%20%28amd_asan_ubsan%2C%20flaky%20check%2C%20s3%20storage%2C%20meta%20in%20keeper%29 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Related: #125122
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
05355_top_k_dynamic_filter_single_sort_column_ties(added in #125122) failed with-cache read 1/+cache read 0on master (amd_tsan, s3 storage, parallel, 3/3) and on #127638 (arm_binary, ParallelReplicas, s3 storage, parallel).The
cache readcheck reruns a query whose entries an earlier query wrote to the server-wide query condition cache. Dropping a MergeTree table without a UUID (in anOrdinaryorMemorydatabase) callsContext::clearCaches(), which also empties that cache. In both runs a parallel test did this between the two queries (04498_database_max_tableson master,01069_database_memoryon the PR), so the rerun missed all 3 parts. This is the same cause as #125702.The test is now
no-parallel. Queries and.referenceare unchanged.Validation (debug build): with a Memory-database MergeTree drop between the fill and the rerun, the check fails 5/5 (0 hits, 3 misses), and 5/5 passes without it. Under a concurrent drop loop the unmodified test fails 6/20, always on the
cache readorcache entries with ties keptline. With the tag, the runner schedules it only as a sequential test, and it passes 50/50 with randomized settings. TheRandom settings limitsline still applies.Workflow [PR]
Sync PR [sync-upstream/pr/127694]
Version info
26.11.1.780-master(included in26.11and later)