v.25.10New Feature

Add SYSTEM RECONNECT ZOOKEEPER command to force

Add SYSTEM RECONNECT ZOOKEEPER command to force zookeeper disconnect and reconnect (https://github.com/ClickHouse/ClickHouse/issues/87317). #87318 (Pradeep Chhetri).
Introduces the SYSTEM RECONNECT ZOOKEEPER command to force ClickHouse to disconnect and then reconnect to ZooKeeper.

Why it matters

This feature addresses issues related to ZooKeeper connection stability by allowing users to manually reset the connection without restarting the ClickHouse server, improving operational reliability and recovery from transient ZooKeeper faults.

How to use it

Execute the following command to trigger a disconnect and reconnect cycle with ZooKeeper:

SYSTEM RECONNECT ZOOKEEPER