Repository navigation
Fix LOGICAL_ERROR in ReplacingMergeTree variants on empty block after insert deduplication - #127439
Conversation
…er insert deduplication
|
Workflow [PR], commit [46eb270] Summary: ✅
AI ReviewSummaryThe PR makes Final VerdictStatus: ✅ Approve |
|
Backport labels have been automatically added based on https://github.com/clickhouse/clickhouse-core-incidents/issues/1944 Labels added:
These labels ensure backport PRs are properly created for each affected release version. The release automation will create backport PRs as needed based on these labels. |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Compile time of recompiled translation units7 translation units recompiled, 17 s compile time in total, 7 of them have a recent master baseline. |
Backport #127439 to 26.10: Fix `LOGICAL_ERROR` in ReplacingMergeTree variants on empty block after insert deduplication
Backport #127439 to 26.9: Fix `LOGICAL_ERROR` in ReplacingMergeTree variants on empty block after insert deduplication
Backport #127439 to 26.8: Fix `LOGICAL_ERROR` in ReplacingMergeTree variants on empty block after insert deduplication
…ge-row-selecting-gather Resolves the conflict in MergeTreeDataWriter::mergeBlock with the empty-block early return from ClickHouse#127439: it stays first, so an empty block never reaches the skip or the key-column merge. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Backport #127439 to 26.3: Fix `LOGICAL_ERROR` in ReplacingMergeTree variants on empty block after insert deduplication
…ariants on empty block after insert deduplication
…ariants on empty block after insert deduplication
…ariants on empty block after insert deduplication
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fix a logical error when insert deduplication removes all rows of a partition block before it is merged on insert into a ReplacingMergeTree or another special MergeTree engine, e.g. when coalesced async inserts with the same insert deduplication token push to a partitioned materialized view target.
Workflow [PR]
Sync PR [sync-upstream/pr/127439]
Version info
26.11.1.731-master(included in26.11and later)26.10.3.3,26.9.26.16,26.8.35.13,26.3.61.12