v.24.12Improvement

Delete S3 Table Metadata After Last Usage

Delete table metadata in keeper in Storage S3(Azure)Queue only after last table using this metadata was dropped. #72810 (Kseniia Sumarokova).
Implemented delayed deletion of table metadata in Keeper for Storage S3 and Storage Azure Queue, ensuring metadata is removed only after the last table using it has been dropped.

Why it matters

This feature prevents premature deletion of shared table metadata in distributed storage systems such as S3 and Azure Queue by delaying the removal in Keeper until no tables reference that metadata. It helps avoid potential data consistency issues and supports safe metadata management when multiple tables share underlying resources.

How to use it

This behavior is applied automatically when using Storage S3 or Storage Azure Queue with Keeper-based metadata management. Users do not need to take explicit action to enable it; metadata will be deleted in Keeper only after the final table using it is dropped.