v.22.7Improvement
Background Cleanup Added for Subdirectories in Store Directory
Added background cleanup of subdirectories instore/. In some cases clickhouse-server might left garbage subdirectories instore/(for example, on unsuccessful table creation) and those dirs were never been removed. Fixes #33710. #38265 (Alexander Tokmakov).
Why it matters
This feature addresses the issue whereclickhouse-server might leave orphaned subdirectories in the store/ folder, such as from failed table creations, which were never removed. It helps maintain a cleaner data directory and prevents disk clutter and potential confusion from leftover files.