load the snapshot on startup

pull/153/head
John Shahid 2014-01-16 16:53:52 -05:00
parent 123c47508d
commit 3e665b8fd0
1 changed files with 2 additions and 0 deletions

View File

@ -253,6 +253,8 @@ func (s *RaftServer) startRaft() error {
return err
}
s.raftServer.LoadSnapshot() // ignore errors
transporter.Install(s.raftServer, s)
s.raftServer.Start()