v.22.11New Feature

Adds Retry Support for INSERTs in ReplicatedMergeTree During ClickHouse Keeper Session Loss

Adds support for retries during INSERTs into ReplicatedMergeTree when a session with ClickHouse Keeper is lost. Apart from fault tolerance, it aims to provide better user experience, - avoid returning a user an error during insert if keeper is restarted (for example, due to upgrade). #42607 (Igor Nikonov).
Adds support for automatic retries of INSERT operations into ReplicatedMergeTree tables when the session with ClickHouse Keeper is lost.

Why it matters

This feature improves fault tolerance and user experience by preventing INSERT queries from failing if the connection to ClickHouse Keeper is temporarily interrupted, for example, during a Keeper restart or upgrade.

How to use it

Users do not need to perform any manual steps to enable this feature; the retry mechanism is applied automatically during INSERT operations on ReplicatedMergeTree tables when a Keeper session loss is detected.