Function raftstore::store::fsm::apply::compact_raft_log[][src]

pub fn compact_raft_log(
    tag: &str,
    state: &mut RaftApplyState,
    compact_index: u64,
    compact_term: u64
) -> Result<()>

Updates the state with given compact_index and compact_term.

Remember the Raft log is not deleted here.