v.23.7Experimental Feature

Support Incremental Reconfiguration with ZooKeeper Command in ClickHouse Keeper

Support ZooKeeper reconfig command for ClickHouse Keeper with incremental reconfiguration which can be enabled via keeper_server.enable_reconfiguration setting. Support adding servers, removing servers, and changing server priorities. #49450 (Mike Kot). It is suspected that this feature is incomplete.
Added support for the ZooKeeper reconfig command in ClickHouse Keeper, enabling incremental reconfiguration of the cluster by adding, removing servers, and changing server priorities.

Why it matters

This feature allows dynamic reconfiguration of ClickHouse Keeper clusters without full restarts, improving cluster availability and flexibility when scaling or modifying the server topology.

How to use it

Enable the feature by setting keeper_server.enable_reconfiguration to true in the ClickHouse configuration. Then, use the ZooKeeper reconfig command to incrementally add or remove servers and change their priorities.