v.21.4Improvements

Introduce min_bytes_to_rebalance_partition_over_jbod setting for balanced JBOD disk assignments

Introduce a new merge tree setting min_bytes_to_rebalance_partition_over_jbod which allows assigning new parts to different disks of a JBOD volume in a balanced way. #16481 (Amos Bird).
Introduce a new MergeTree setting min_bytes_to_rebalance_partition_over_jbod that enables balanced assignment of new parts across different disks in a JBOD volume.

Why it matters

This feature addresses the need to distribute data parts more evenly across multiple disks in a JBOD setup, preventing uneven disk usage and improving overall storage balance and performance.

How to use it

Set the min_bytes_to_rebalance_partition_over_jbod setting in the MergeTree table configuration to specify the minimum size threshold of data parts that triggers rebalancing across JBOD disks.