v.22.11New Feature

Add Commands for Creating Snapshots and Retrieving Raft Information in ClickHouse Keeper

Add four-letter command csnp for manually creating snapshots in ClickHouse Keeper. Additionally, lgif was added to get Raft information for a specific node (e.g. index of last created snapshot, last committed log index). #41766 (JackyWoo).
Introduced the four-letter command csnp for manually creating snapshots in ClickHouse Keeper, and added lgif to retrieve Raft information for a specific node, such as the index of the last created snapshot and the last committed log index.

Why it matters

This feature enables manual snapshot creation within ClickHouse Keeper, improving control over snapshot management. Additionally, it provides detailed Raft state information per node, helping users monitor and debug the distributed consensus state more effectively.

How to use it

Use the four-letter command csnp to manually trigger snapshot creation in ClickHouse Keeper. To retrieve Raft information for a specific node, use the lgif command, which returns data like the last snapshot index and last committed log index.