v.21.6Improvement
Respect max_part_removal_threads for ReplicatedMergeTree
Respectmax_part_removal_threadsforReplicatedMergeTree. #22971 (Azat Khuzhin).
Why it matters
This feature addresses the issue where themax_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 themax_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.