v.21.10Improvements

Fix Exception When Removing Parts in Temporary State

Fix removing of parts in a Temporary state which can lead to an unexpected exception (Part %name% doesn't exist). Fixes #23661. #28221 #28221) (Azat Khuzhin).
Fixes the issue of removing parts in a Temporary state that could cause an unexpected exception with the message Part %name% doesn't exist.

Why it matters

This fix addresses a bug where attempting to remove parts that are in a Temporary state could lead to an unexpected exception. This improves the stability and reliability of part removal operations in ClickHouse, preventing crashes or errors related to non-existent parts.

How to use it

Users benefit from this fix automatically after upgrading to the version including this patch. No specific user action or configuration is required.