6 Commits

Author SHA1 Message Date
Xiang Li
189fece683 hack(server): notify removed peers when they try to become candidates
A peer might be removed during a network partiton. When it comes back it
will not have received any of the log entries that would have notified
it of its removal and go onto propose a vote. This will disrupt the
cluster and the cluster should give the machine feedback that it is no
longer a member.

The term of a denied vote is MaxUint64. The notification of the removal
is a raft event. These two modification are quick heck.

In reaction to this notification the machine should shutdown. In this
case the shutdown just moves it towards becoming a standby server.
2014-05-20 10:17:32 -07:00
Yicheng Qin
cbb706cd47 bump(goraft/raft): c76c5d95 2014-05-13 11:08:03 -04:00
Yicheng Qin
66ce075ce1 bump(goraft/raft): cfa43a115 2014-04-09 12:42:20 -07:00
Yicheng Qin
ef98f6051c bump(goraft/raft): 585c58026c 2014-04-04 17:10:18 -07:00
Yicheng Qin
d2c0a008ce bump(goraft/raft): f94d98c 2014-04-04 16:45:15 -07:00
Ben Johnson
174b9ff343 bump(github.com/goraft/raft): 6bf34b9
Move from coreos/raft to goraft/raft and update to latest.
2014-03-24 15:09:47 -07:00