v.21.12Improvements

Cancel Vertical Merges on Partition Drop

Cancel vertical merges when partition is dropped. This is a follow-up of https://github.com/ClickHouse/ClickHouse/pull/25684 and https://github.com/ClickHouse/ClickHouse/pull/30996. #31057 (Amos Bird).
Cancel ongoing vertical merges for data parts belonging to a partition when that partition is dropped.

Why it matters

When a partition is dropped, any vertical merges related to parts within that partition should be stopped to avoid unnecessary resource usage and potential conflicts. This improves the reliability and efficiency of partition drops by ensuring merges do not continue on data that is no longer relevant.

How to use it

This feature is applied automatically in the background when a partition is dropped using commands like ALTER TABLE ... DROP PARTITION. No additional user action is needed to enable this behavior.