• Yossi Gottlieb's avatar
    Add raft_cancel_snapshot(). · 074091c1
    Yossi Gottlieb authored
    This cancels the snapshot operation and reverts back to the state we
    were in before raft_begin_snapshot().
    
    It is useful for cases where the snapshot operation fails.  It is the
    caller's responsibility to make sure the FSM state remains intact of
    course.
    074091c1
raft_private.h 4.12 KB