Parcourir la source

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 il y a 5 ans
Parent
commit
aa6d06e875
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  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,