Skip to content

Backport #126548 to 26.8: Limit recursion depth when deserializing query plans - #127048

Merged
clickhouse-gh[bot] merged 2 commits into
26.8from
backport/26.8/126548
Oct 21, 2026
Merged

clickhouse-gh[bot] merged 2 commits into
26.8from
backport/26.8/126548

Conversation

@robot-clickhouse

@robot-clickhouse robot-clickhouse commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Original pull-request #126548

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.8.33.11

@robot-clickhouse robot-clickhouse added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix labels Oct 20, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [8a78545]

Summary: ✅

…lization version

On 26.8, `DBMS_MIN_QUERY_PLAN_SERIALIZATION_VERSION_WITH_EXECUTION_LIMITS` is 10
(it is 11 on master), and the server advertises plan version 10. The test did not
write `max_threads` / `concurrency_control` for version 10, so the hand-crafted
packet was misaligned and the server failed with an unrelated exception
(`Method createColumn is not implemented for data type Function( -> UInt8)`)
instead of `TOO_DEEP_RECURSION`.

CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=127048&sha=8c3861f7b44884920680ca77e77fe9fa25f99c10&name_0=BackportPR&name_1=Stateless%20tests%20%28amd_asan_ubsan%2C%20distributed%20plan%2C%20parallel%29
PR: #127048

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh
clickhouse-gh Bot merged commit 40a5174 into 26.8 Oct 21, 2026
40 of 41 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.8/126548 branch October 21, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants