v.22.8Improvement

ClickHouse Keeper: Snapshot Creation on Exit Enhanced

ClickHouse Keeper improvement: create a snapshot on exit. It can be controlled with the config keeper_server.create_snapshot_on_exit, true by default. #39755 (Antonio Andelic).
ClickHouse Keeper now creates a snapshot on exit by default.

Why it matters

This feature ensures data durability and consistency by automatically creating a snapshot of ClickHouse Keeper's state when the server shuts down. It helps prevent data loss and simplifies recovery processes.

How to use it

The snapshot-on-exit behavior is controlled via the configuration parameter keeper_server.create_snapshot_on_exit, which is set to true by default. To disable this behavior, set this parameter to false in the server configuration file.