v.22.11New Feature
Add Commands for Creating Snapshots and Retrieving Raft Information in ClickHouse Keeper
Add four-letter commandcsnpfor manually creating snapshots in ClickHouse Keeper. Additionally,lgifwas added to get Raft information for a specific node (e.g. index of last created snapshot, last committed log index). #41766 (JackyWoo).
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 commandcsnp 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.