Repository navigation
Pin 04161 and 05493 to query-based parallel replicas - #132872
Conversation
Internal second-model review: adjudication log (click to expand)Pre-publication review by an independent model (engine: codex; 1 finding;
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-8:20261119-040001 |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-41:20261119-031000 |
|
Workflow [PR], commit [4375cce] Summary: ✅ AI ReviewSummaryReviewed head Missing context / blind spots
Final VerdictStatus: ✅ Approve. |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Compile time of recompiled translation units1409 translation units recompiled, 42 s compile time in total, 1409 of them have a recent master baseline. |
CI finish ledger - c4c38d9Every failure below has an owner: a fixing PR (mine or external), or a full-effort fix task
Session id: cron:our-pr-ci-monitor:20261119-080025 |
|
@groeneai just add previous failed test |
With `parallel_replicas_plan_based = 1`, a read of a `UNIQUE KEY` table is shipped and `ReadFromMergeTree::serialize` throws `SUPPORT_IS_DISABLED` (ClickHouse#128534). `04161_unique_key_insert_duplicate` and `05493_unique_key_disk_without_append` read such a table only through `count()`, so in the plan-based job they fail only when the runner draws `optimize_trivial_count_query = 0` (5% of runs) and pass otherwise. The plan-based blacklist is checked strictly (the job does not run with `--autopr`), so listing them would report `NOT_FAILED` on most runs, as it did for 04161 on ClickHouse#128413. Pin them to query-based parallel replicas instead, the way 91d6019 did for 05175. ClickHouse#128534 stays open for plan-based support of `UNIQUE KEY` reads. CI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=6ade2c8d6b94ea04a0c7b0259825529aceac0fd8&name_0=MasterCI&name_1=Stateless%20tests%20%28arm_binary%2C%20ParallelReplicas%2C%20plan-based%2C%20s3%20storage%2C%20parallel%29 Related: ClickHouse#128534 Co-Authored-By: Claude Opus 5.5 <[email protected]>
c4c38d9 to
4375cce
Compare
UNIQUE KEY tables local|
Done in 4375cce: I dropped the I did not list |
`05836_unique_key_preserves_insert_order` fails in `Stateless tests (arm_binary, ParallelReplicas, plan-based, s3 storage, parallel)`. Plan-based parallel replicas cannot read a `UNIQUE KEY` table yet (`SUPPORT_IS_DISABLED`), see ClickHouse#128534. Set `parallel_replicas_plan_based = 0` for the final `SELECT` of the test, as ClickHouse#132872 did for two other tests. https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=128833&sha=7016cca5a1e22feb060ace1d9ce40eba62adfe09&name_0=PR ClickHouse#128833
Related: #128534
Related: #128413
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
04161_unique_key_insert_duplicateand05493_unique_key_disk_without_appendfail in Stateless tests (arm_binary, ParallelReplicas, plan-based, s3 storage, parallel) withdistributed query plan is not supported on UNIQUE KEY tables (SUPPORT_IS_DISABLED): plan-based parallel replicas ships the read of aUNIQUE KEYtable (#128534). Both read such a table only throughcount(), so they fail only when the runner drawsoptimize_trivial_count_query = 0(5% of runs; 5/140 and 4/132 in this job over 30 days) and pass otherwise.The plan-based blacklist is checked strictly (the job runs without
--autopr), so listing them would reportNOT_FAILEDon most runs, as 04161 did 9 times on #128413. Both tests now pin query-based parallel replicas, as 91d6019 did for05175. #128534 stays open for plan-based support, and the 8UNIQUE KEYtests in the blacklist keep tracking it.Validation: in a local plan-based job setup on master code (05493 with local stand-ins for its S3 disks), with
optimize_trivial_count_query = 0both unchanged tests fail 3/3 and both pinned tests pass 3/3; with the unchanged 05493 listed in the blacklist, default runs reportNOT_FAILED2/2. The pinned tests pass 50/50 with random settings.🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/132872]
Version info
26.11.1.2874-master(included in26.11and later)