mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
@@ -163,7 +163,7 @@ func newRaft(id uint64, peers []uint64, election, heartbeat int, storage Storage
|
||||
if !isHardStateEqual(hs, emptyState) {
|
||||
r.loadState(hs)
|
||||
}
|
||||
r.becomeFollower(0, None)
|
||||
r.becomeFollower(r.Term, None)
|
||||
return r
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user