Introduces atomic removal of MergeTree data parts during storage destruction to ensure safer and more consistent cleanup.
Why it matters
This feature addresses the problem of partial or inconsistent data part removals when a MergeTree table or its storage is destroyed. By making the deletion of data parts atomic, it prevents dangling files and ensures that cleanup is executed safely and reliably, improving data integrity and operational stability.How to use it
This feature is integrated into the core of ClickHouse and is applied automatically when a MergeTree storage is destroyed. No additional user action is required to enable this behavior.