Skip to content

Run 04117_detach_database_kill_query sequentially again - #127935

Merged
devcrafter merged 1 commit into
masterfrom
restore-no-parallel-04117
Oct 27, 2026
Merged

devcrafter merged 1 commit into
masterfrom
restore-no-parallel-04117

Conversation

@devcrafter

@devcrafter devcrafter commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Related: #126555
Related: #127149

Restore the no-parallel tag of 04117_detach_database_kill_query until #127149 is merged.

Since #126555 moved it to the parallel pool, Stateless tests (arm_binary, ParallelReplicas, s3 storage, parallel) fails with Some queries hung on master: 9 times between 2026-10-21 and 2026-10-24, none in the 30 days before, and the hung row is always the test's parallel replicas follower. Killing the SELECT does not stop its remote part, which keeps sleeping in sleepEachRow (the same happens with a plain remote query), as described in #127149.

CI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=127038&sha=9f841c9ae9a312abac66b6136e939dc248c3a7a3&name_0=PR

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

🤖 Generated with Claude Code


Workflow [PR]
Sync PR [sync-upstream/pr/127935]

Version info

  • Merged into: 26.11.1.833-master (included in 26.11 and later)

Since it runs in the parallel pool, the remote part of its killed `SELECT`
keeps sleeping and the hung check reports `Some queries hung`.

CI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=127038&sha=9f841c9ae9a312abac66b6136e939dc248c3a7a3&name_0=PR
PR: #127038
Related: #127149

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [c1815a2]

Summary: ✅


AI Review

Summary

Restores no-parallel for 04117_detach_database_kill_query as a temporary mitigation for lingering parallel-replica queries, pending #127149. No actionable findings in the current diff.

Missing context / blind spots
  • ⚠️ The affected parallel-replica sequential CI job is still pending. The changed test passed Fast test in 1.35 seconds; a successful run of Stateless tests (arm_binary, ParallelReplicas, s3 storage, sequential) would confirm the mitigation in the affected configuration. CI report.
Final Verdict

Status: ✅ Approve. No code changes requested.

@clickhouse-gh clickhouse-gh Bot added pr-ci comp-testing Test content only (no production code). labels Oct 27, 2026
@devcrafter

devcrafter commented Oct 27, 2026 •

Copy link
Copy Markdown
Member Author

@groeneai after this pr landed, can you remove no-parallel tag from 04117_detach_database_kill_query in #127149, so it'll run the test with the fix

@devcrafter
devcrafter enabled auto-merge October 27, 2026 12:20
@devcrafter devcrafter assigned devcrafter and unassigned devcrafter Oct 27, 2026
@groeneai

Copy link
Copy Markdown
Collaborator

Sure. Once this is merged, I'll merge master into #127149 and drop the no-parallel tag and its comment from 04117_detach_database_kill_query there.

For reference, the current head of #127149 (e7a35ce) still has 04117 untagged, and it passed with the fix in all 8 parallel stateless jobs, including Stateless tests (arm_binary, ParallelReplicas, s3 storage, parallel), with no hung query.

@devcrafter
devcrafter added this pull request to the merge queue Oct 27, 2026
Merged via the queue into master with commit 5c55f7e Oct 27, 2026
178 checks passed
@devcrafter
devcrafter deleted the restore-no-parallel-04117 branch October 27, 2026 13:46
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 27, 2026
@groeneai

groeneai commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Done: I merged master into #127149, and 95a900c removes the no-parallel tag again, so 04117 runs in the parallel pool with the fix.

groeneai added a commit to groeneai/ClickHouse that referenced this pull request Oct 27, 2026
ClickHouse#127935 restored the `no-parallel` tag until this PR lands. With this PR the
parallel replicas follower of the killed `SELECT` stops sleeping, so the test
can run in the parallel pool again (requested in ClickHouse#127935).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh clickhouse-gh Bot added comp-database-engines Database engine implementations (e.g., Atomic/Replicated) and database-level behavior. and removed comp-testing Test content only (no production code). labels Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-database-engines Database engine implementations (e.g., Atomic/Replicated) and database-level behavior. pr-ci pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants