From 7fa728eae06154e8584ff26693e2642bf1332610 Mon Sep 17 00:00:00 2001 From: Little-Wallace Date: Sun, 30 Aug 2020 19:22:47 +0800 Subject: [PATCH] fix initial Signed-off-by: Little-Wallace --- src/raft.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/raft.rs b/src/raft.rs index 78c3c7ef4..8ca90e56c 100644 --- a/src/raft.rs +++ b/src/raft.rs @@ -250,6 +250,7 @@ impl Raft { logger.clone(), ), msgs: Default::default(), + heartbeats: Default::default(), r: RaftCore { id: c.id, read_states: Default::default(),