Sfoglia il codice sorgente

No need to cancel in flight log entry sync.

It will timeout anyway. If there is a response, we should move
match index and current step.
Jing Yang 5 anni fa
parent
commit
aa6d06e875
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      src/lib.rs

+ 0 - 1
src/lib.rs

@@ -648,7 +648,6 @@ impl Raft {
             return;
         }
 
-        // TODO: cancel in flight changes?
         let args = match Self::build_append_entries(&rf, peer_index) {
             Some(args) => args,
             None => return,