v.22.11Improvement

Insufficient Disk Space Due to Expired Parts in Merge Task

When the merge task is continuously busy and the disk space is insufficient, the completely expired parts cannot be selected and dropped, resulting in insufficient disk space. My idea is that when the entire Part expires, there is no need for additional disk space to guarantee, ensure the normal execution of TTL. #42869 (zhongyuankai).
Optimize TTL for expired parts by allowing their immediate removal without requiring additional disk space during merge operations.

Why it matters

This feature addresses a problem where continuous merge tasks combined with insufficient disk space prevent the removal of completely expired parts via TTL. It ensures that parts that are fully expired can be dropped instantly without needing extra disk space, thus maintaining efficient TTL execution and preventing disk space exhaustion.

How to use it

The feature is integrated into the TTL mechanism and requires no special user action to enable. When the system identifies parts that are completely expired, it will automatically drop them without reserving additional disk space during merge tasks.