Commit Graph

3 Commits

Author SHA1 Message Date
d9b5b56c82 raft: make raft configurable 2015-03-23 09:55:19 -07:00
67194c0b22 raft: introduce progress states 2015-03-18 08:16:32 -07:00
9b4d52ee73 raft: do not resend snapshot if not necessary
raft relies on the link layer to report the status of the sent snapshot.
If the snapshot is still sending, the replication to that remote peer will
be paused. If the snapshot finish sending, the replication will begin
optimistically after electionTimeout. If the snapshot fails, raft will
try to resend it.
2015-02-28 11:41:58 -08:00