• Yossi Gottlieb's avatar
    Add raft_cancel_snapshot(). · 3badd2a0
    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.
    3badd2a0
raft_server_properties.c 6.46 KB