v.22.10Improvement

Merge Parts Based on Age Threshold Configuration

Merge parts if every part in the range is older than a certain threshold. The threshold can be set by using min_age_to_force_merge_seconds. This closes #35836. #42423 (Antonio Andelic). This is continuation of #39550i by @fastio who implemented most of the logic.
A feature to trigger forced merges of parts only when all parts in the merge range are older than a specified age threshold, controlled by the min_age_to_force_merge_seconds setting.

Why it matters

This feature prevents premature forced merges by ensuring that merges occur only for parts that have existed longer than a defined minimum age. This helps optimize merge operations, reduce unnecessary resource usage, and improve overall system stability and performance.

How to use it

Configure the merge threshold by setting the min_age_to_force_merge_seconds parameter to the desired minimum age in seconds. Forced merges will then only occur for parts older than this threshold.