v.21.1Performance Improvements
Fix max_distributed_connections affecting prefer_localhost_replica and max_threads
Fix max_distributed_connections (affectsprefer_localhost_replica = 1andmax_threads != max_distributed_connections). #17848 (Azat Khuzhin).