v.25.4Improvement
Attaching parts of MergeTree tables will be
Attaching parts ofMergeTreetables will be performed in their block order, which is important for special merging algorithms, such asReplacingMergeTree. This closes #71009. #77976 (Alexey Milovidov).
Why it matters
The feature addresses the issue of improper ordering when attaching parts toMergeTree tables, which can lead to incorrect data states in tables using specialized merge algorithms. By preserving block order during attachment, it guarantees data consistency and correctness for features like ReplacingMergeTree.How to use it
This improvement is applied automatically in ClickHouse when attaching parts toMergeTree tables. Users do not need to make any changes to benefit from this feature.