瀏覽代碼

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 年之前
父節點
當前提交
aa6d06e875
共有 1 個文件被更改,包括 0 次插入1 次删除
  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,