v.25.10Improvement

Add a new entry in system

Added a new entry in system.server_settings, keeper_hosts that exposes the list of [Zoo]Keeper hosts ClickHouse can connect to. #87718 (Nikita Mikhaylov).
Added a new entry <code>keeper_hosts</code> in <code>system.server_settings</code> that exposes the list of ZooKeeper hosts ClickHouse can connect to.

Why it matters

This feature provides users with an easy way to view and verify the ZooKeeper hosts configured for ClickHouse. It helps in troubleshooting connection issues and ensures transparency of ZooKeeper host configurations.

How to use it

Query the <code>system.server_settings</code> table and look for the <code>keeper_hosts</code> entry to see the current ZooKeeper hosts:

SELECT name, value FROM system.server_settings WHERE name = 'keeper_hosts';