Repository navigation
Conversation
The upgrade check runs the previous release's tests on the previous release's server. On 26.9, the `KILL PART_MOVE_TO_SHARD ... ON CLUSTER` of 05082_kill_and_system_on_cluster_access_types reads `system.part_moves_between_shards`, which throws a Keeper error (`No node`, or `Session expired`), so the DDL worker retries that entry until the stress phase ends and never runs the entries queued behind it. `KILL QUERY WHERE 1 SYNC` cancels their initiators, and the upgraded server then executes the backlog: for example a 02907 `BACKUP ... ON CLUSTER` host part logs "Failed to make internal backup ... Got error from the initiator ... Query was cancelled", and the post-upgrade log scan fails the job. Pass `--skip 05082_kill_and_system_on_cluster_access_types` to clickhouse-test through stress.py's `--skip-func-tests`. A skip-list file or a tag would be read from the previous release's tree, while the CLI option is read by master's clickhouse-test. The skip is unconditional: ClickHouse#122132 handles `No node` on master, but `tryGetChildren` still throws on `Session expired`. https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=101841&sha=30788669edfb1fdebbae07e31d69b1e4378f4c44&name_0=PR&name_1=Upgrade%20check%20%28amd_release%29 https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=117738&sha=a535902fa0569296d78039fdcefe1e8ad8cd1fa6&name_0=PR&name_1=Upgrade%20check%20%28amd_release%29 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, none blocking).
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-8:20261013-055500 |
|
Workflow [PR], commit [bec6bf5] Summary: ✅ AI ReviewSummaryThis PR narrows the upgrade-check stress phase by forwarding Final Verdict✅ Looks good to merge. No new inline findings. |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Stop the upgrade check from failing on distributed DDL entries that the previous release never executed because its DDL queue was stuck on
05082_kill_and_system_on_cluster_access_types.Description
Upgrade check (amd_release)failsError message in clickhouse-server.logwith lines the upgraded server logs forON CLUSTERentries the previous release left in the DDL queue, e.g.BackupsWorker: Failed to make internal backup ... Got error from the initiator ... Query was cancelled(#101841, #117738). CIDB: 11 such jobs on 11 PRs since 2026-10-02.The previous release's copy of 05082 sends
KILL PART_MOVE_TO_SHARD ... ON CLUSTER. On 26.9 that readssystem.part_moves_between_shards, which throws a Keeper error (No nodefor a table whose Keeper tree is gone, orSession expired). The DDL worker retries that entry until the stress phase ends (116 and 174 retries in the two jobs) and never reaches the entries behind it.KILL QUERY WHERE 1 SYNCthen cancels their initiators, and the upgraded server runs the backlog.The change passes
--skip 05082_kill_and_system_on_cluster_access_typesto clickhouse-test through stress.py's existing--skip-func-tests(a skip-list file or tag would be read from the previous release's tree). The skip is unconditional: #122132 fixed theNo nodecase on master, buttryGetChildrenstill throws onSession expired, so a 26.9 backport would not cover #117738. 05082 still runs in all stateless and stress jobs.Validation (local, no new test for test infrastructure): the edited line, expanded by stress.py into all 8 worker commands and the smoke check, gives clickhouse-test
args.skip == {05082...}(empty for the old line); a local run with those tokens reports 05082SKIPPEDand sends no query, without them it runs 05082.Related: #122132
Related: #101841 (comment)
Workflow [PR]
Sync PR [sync-upstream/pr/125562]