Skip to content

Backport #113926 to 26.3: Fix memory leaks of abandoned nested states in the -ForEach and -Map combinators - #117691

Merged
Algunenano merged 1 commit into
26.3from
backport/26.3/113926
Sep 3, 2026
Merged

Algunenano merged 1 commit into
26.3from
backport/26.3/113926

Conversation

@robot-ch-test-poll4

@robot-ch-test-poll4 robot-ch-test-poll4 commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #113926
Cherry-pick pull-request #117670

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.3.30.6

@robot-ch-test-poll4 robot-ch-test-poll4 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Sep 2, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [743c602]

Summary: ✅

@Algunenano
Algunenano merged commit e024c4e into 26.3 Sep 3, 2026
34 checks passed
@Algunenano
Algunenano deleted the backport/26.3/113926 branch September 3, 2026 10:09
bytehalo-infra added a commit to sentioxyz/ClickHouse that referenced this pull request Sep 25, 2026
AGG: abandoned nested aggregate states -> leak.
Effect in the production build a394e92: wrong/failing (the upstream test fails on it and passes on official 26.8.8.8; evidence/fix_ci_20260925/upstream_repro/residual/113926.PROD263.txt).
Upstream patch unchanged, with its test(s): 04812_foreach_combinator_nested_state_leak, 05055_map_combinator_duplicate_key_state, 05056_map_combinator_state_stranded_on_throw.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants