• Ozan Tezcan's avatar
    Add snapshot_index to raft_snapshot_resp_t struct (#163) · 9ba34e87
    Ozan Tezcan authored
    Normally, receiver side has checks if the chunk is for the correct 
    index and offset. 
    
    Adding snapshot_index to raft_snapshot_resp_t just to be sure we don't 
    update snapshot offset for the node unnecessarily.
    
    Also, it makes debugging easier as we know the snapshot index that 
    response refers to. 
    9ba34e87
raft.h 53.1 KB