load the snapshot on startup
parent
123c47508d
commit
3e665b8fd0
|
@ -253,6 +253,8 @@ func (s *RaftServer) startRaft() error {
|
|||
return err
|
||||
}
|
||||
|
||||
s.raftServer.LoadSnapshot() // ignore errors
|
||||
|
||||
transporter.Install(s.raftServer, s)
|
||||
s.raftServer.Start()
|
||||
|
||||
|
|
Loading…
Reference in New Issue