Repository navigation
Remove no-parallel tag for some tests - #126555
Merged
alexey-milovidov merged 4 commits intoOct 21, 2026
Merged
alexey-milovidov merged 4 commits into
alexey-milovidov merged 4 commits into
Conversation
Their tag reasons no longer hold: global names are already unique to the test or are made unique here, and the remaining reasons do not match what the tests do (per-query metrics, the test's own ZooKeeper paths, own databases). Together they are ~51 s of Fast test's sequential phase. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
Workflow [PR], commit [b0ac572] Summary: ✅ AI ReviewSummaryRemoves Final VerdictStatus: ✅ Approve |
The style check requires the tag for any test with SYSTEM DROP. 02888, 03169, 03919 and 05333 drop replicas of their own tables only, but stay sequential rather than widening that check here. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The flaky check runs copies of a changed test at the same time. These nine use server-wide names that are unique across tests but shared by copies of the same test (roles, row policies, named collections, a fixed table UUID, a fixed user_files path), and 01307 runs too long when its copies overlap. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Their UDF and named collection have fixed names, so concurrent copies in the flaky check drop each other's object. Co-Authored-By: Claude Opus 5.5 <[email protected]>
murphy-4o
marked this pull request as ready for review
October 19, 2026 07:57
alexey-milovidov
approved these changes
Oct 21, 2026
1 task done
This was referenced Oct 21, 2026
groeneai
added a commit
to groeneai/ClickHouse
that referenced
this pull request
Oct 26, 2026
…list When the client cancels a query over the native protocol (a `Cancel` packet, or the connection dropping while the handler polls it), `TCPHandler` cancelled the pipeline executor and then waited for its threads, but never marked the query as cancelled in the process list. Code that observes cancellation only through the process list entry kept running: `sleep` loops on `QueryStatus::checkTimeLimit`, so a cancelled query slept through its whole block while the handler waited in `PullingAsyncPipelineExecutor::cancel`. `KILL QUERY` and the `clickhouse-local` cancel callback already mark the entry. Under parallel replicas this made `04117_detach_database_kill_query` flaky once ClickHouse#126555 moved it to the parallel pool: the follower that got the table's only mark kept sleeping ~300 s after the initiator was killed and tripped the final hung check (`is_cancelled` 0 in every dump). Since the follower now stops, the `no-parallel-replicas` tag is dropped again. Now the handler cancels the process list entry before cancelling the executor, for both the pulling and the completed pipeline paths, passing the client's exception so that the query still fails with `QUERY_WAS_CANCELLED_BY_CLIENT`. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 task done
wilkermichael
pushed a commit
to Shopify/ClickHouse
that referenced
this pull request
Nov 3, 2026
Since ClickHouse#126555 moved the test into the parallel pool, the ParallelReplicas lane reports `Some queries hung` on master (2 of 21 runs). The table has one mark; when a remote replica reads it, the whole 300 s `sleepEachRow` block runs in a secondary query with its own query_id. The test's `KILL QUERY WHERE query_id = ...` kills only the initial query, and `sleep` stops only when its own query is killed, so the secondary outlives the test and the end-of-run hung check catches it. Parallel replicas add nothing to what the test checks (KILL QUERY interrupting the DETACH DATABASE wait), so tag it `no-parallel-replicas`: the lane skips it and other lanes run it with enable_parallel_replicas = 0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fast test spends half of its Tests step running
no-paralleltests one at a time:For 27 of them the tag's reason does not hold:
Drop
no-parallelfrom them (and the stale reason comments). They take ~35 s of the sequential phase; in the parallel pool that is ~2 s, so the Tests step should shrink by ~33 s.Changelog category (leave one):
🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/126555]
Version info
26.11.1.377-master(included in26.11and later)