v.21.6Improvement

Respect max_part_removal_threads for ReplicatedMergeTree

Respect max_part_removal_threads for ReplicatedMergeTree. #22971 (Azat Khuzhin).
The max_part_removal_threads setting is now respected by ReplicatedMergeTree tables.

Why it matters

This feature addresses the issue where the max_part_removal_threads configuration, which limits the number of threads used for removing data parts in background, was previously ignored for ReplicatedMergeTree tables. By enforcing this limit, it improves resource management and stability during data part removal processes in replicated environments.

How to use it

To use this feature, simply set the max_part_removal_threads setting in the server or user configuration files or adjust it at runtime. The ReplicatedMergeTree tables will now adhere to this setting automatically without any additional configuration.