v.22.3Improvement

Add Sanity Checks for Keeper Configuration

Add more sanity checks for keeper configuration: now mixing of localhost and non-local servers is not allowed, also add checks for same value of internal raft port and keeper client port. #35004 (alesapin).
Added additional sanity checks for ClickHouse Keeper configuration to prevent mixing localhost and non-localhost servers and to ensure that internal Raft ports and Keeper client ports do not have conflicting values.

Why it matters

This feature addresses configuration errors that could lead to inconsistent or faulty Keeper cluster setups. By disallowing mixing of localhost and non-local servers and ensuring distinct port assignments for internal Raft communication and client connections, it improves the stability and reliability of Keeper clusters.

How to use it

Simply update to the new ClickHouse version containing these checks. When defining or modifying Keeper cluster configuration files, the system will automatically validate the configuration and reject setups that mix localhost with non-local hosts or that reuse the same port for internal Raft and Keeper client communication.