Skip to content

Backport #107481 to 26.4: Reset adopted part level to 0 on cross-engine ATTACH/CLONE/MOVE PARTITION - #110340

Merged
PedroTadim merged 3 commits into
26.4from
backport/26.4/107481
Jul 15, 2026
Merged

PedroTadim merged 3 commits into
26.4from
backport/26.4/107481

Conversation

@robot-ch-test-poll2

@robot-ch-test-poll2 robot-ch-test-poll2 commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #107481

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

@robot-ch-test-poll2 robot-ch-test-poll2 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 Jul 14, 2026
@clickhouse-gh

clickhouse-gh Bot commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [87202a6]

Summary: ✅

PedroTadim and others added 2 commits July 14, 2026 13:02
…ison

`MergingParams::allow_tuple_element_aggregation` was added on master by a
separate Graphite PR that was not backported to this release branch, so the
`hasSameMergeSemantics` comparison introduced by #107481 fails to compile
here. Remove the comparison; the tuple-element-aggregation feature does not
exist on this branch.

Build failure: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=110340&sha=b26cdd397e69be9461ba1611c22b492163a8b73f&name_0=BackportPR&name_1=Build%20%28amd_debug%29
Backport of #107481

Co-Authored-By: Claude Opus 4.8 <[email protected]>
The backported operator==(Graphite::Params) reads patterns_typed, but on
this release branch the field is declared without a value initializer
(master has `bool patterns_typed{}`). Comparing a Params whose
patterns_typed was never assigned reads uninitialized memory, tripping
UBSan ("load of value 6, which is not a valid value for type 'bool'")
in Graphite.cpp:238 and killing the server, which cascades into the
integration-test failures.

CI: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=110340&sha=latest&name_0=BackportPR

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@PedroTadim
PedroTadim merged commit 92655f4 into 26.4 Jul 15, 2026
35 checks passed
@PedroTadim
PedroTadim deleted the backport/26.4/107481 branch July 15, 2026 07:49
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