pub async fn commit(
state: PartialSnapshotState,
multi_raft: &Arc<Mutex<MultiRaft>>,
) -> Result<InstallSnapshotResponse, ClusterError>Expand description
Validate, rename, and advance Raft state after the last chunk.
Returns the InstallSnapshotResponse produced by
MultiRaft::handle_install_snapshot so callers can propagate the
Raft term back to the leader.