v.23.8Improvement

Make RAFT reconnect limit configurable for quicker peer connections

Make reconnect limit in RAFT limits configurable for keeper. This configuration can help to make keeper to rebuild connection with peers quicker if the current connection is broken. #53817 (Pengyuan Bian).
Introduces a configurable reconnect limit for the RAFT protocol in the Keeper component of ClickHouse.

Why it matters

This feature allows users to control how quickly Keeper attempts to reconnect to its RAFT peers after a connection is broken. It helps to improve the resilience and availability of the Keeper service by enabling faster recovery from broken connections.

How to use it

Users can configure the reconnect limit for RAFT connections in Keeper by setting the appropriate configuration parameter in the Keeper settings to specify the desired reconnect limit, allowing Keeper to rebuild connections with peers more quickly.