Xiang Li
|
93b08502e4
|
raft: check voteFor
|
2014-09-03 09:05:07 -07:00 |
|
Yicheng Qin
|
c1c45575be
|
raft: ins: []*index -> []index
It could make raft faster, use less storage.
|
2014-09-03 09:05:07 -07:00 |
|
Xiang Li
|
1170c21f89
|
raft: add a single candidate test
|
2014-09-03 09:05:07 -07:00 |
|
Xiang Li
|
0cdd1b58a4
|
raft: rename log.commit to log.committed
|
2014-09-03 09:05:07 -07:00 |
|
Xiang Li
|
4c609ec59c
|
raft: new log struct
|
2014-09-03 09:05:06 -07:00 |
|
Xiang Li
|
74737b76cc
|
raft: leader commit and test
Signed-off-by: Blake Mizerany <blake.mizerany@gmail.com>
|
2014-09-03 09:05:06 -07:00 |
|
Xiang Li
|
c223eca938
|
raft: clean stateMachine
|
2014-09-03 09:05:06 -07:00 |
|
Xiang Li
|
73e3394d2d
|
raft: reverse sort to figure out the ci
|
2014-09-03 09:05:05 -07:00 |
|
Blake Mizerany
|
50e0db4038
|
raft: attempt first version of Interface
|
2014-09-03 09:05:05 -07:00 |
|
Blake Mizerany
|
8d7be33dd8
|
raft: move to raft pkg
|
2014-09-03 09:05:05 -07:00 |
|