Introduced a load balancing setting for the ZooKeeper client in ClickHouse to distribute requests evenly across multiple ZooKeeper nodes.
Why it matters
This feature addresses the problem of uneven load distribution when connecting to ZooKeeper, improving fault tolerance and overall system stability by balancing client requests across available ZooKeeper servers.How to use it
Configure the ZooKeeper client's load balancing by setting the appropriate option in the ClickHouse server configuration file under the ZooKeeper section. This enables the client to distribute requests across multiple ZooKeeper nodes automatically.