Xiang Li
|
2a11c1487c
raft: sm.compact and sm.restore
|
10 years ago |
Yicheng Qin
|
62a90e77b3
raft: send Normal with nil Data when leader is elected out
|
10 years ago |
Yicheng Qin
|
c86f484712
raft: make judge clear
|
10 years ago |
Yicheng Qin
|
7dc02b947d
raft: refine TestVote
|
10 years ago |
Yicheng Qin
|
095251f1fa
raft: Network supports discontinuous ids
|
10 years ago |
Blake Mizerany
|
5778c49689
raft: set term in reset
|
10 years ago |
Xiang Li
|
3817661f82
raft: rename ConfigAdd/ConfigRemove -> AddNode/RemoveNode
|
10 years ago |
Xiang Li
|
9f315ffe10
raft: make entry type public
|
10 years ago |
Blake Mizerany
|
e5b9e22518
raft: Step returns ok
|
10 years ago |
Xiang Li
|
cc3a8e26c8
raft: add leader change test for configuration
|
10 years ago |
Blake Mizerany
|
abd2448931
raft: addr -> id
|
10 years ago |
Xiang Li
|
1a75beb57c
raft: add confAdd and confRemove entry type
|
10 years ago |
Xiang Li
|
c03fbf68d6
raft: add conf safety
|
10 years ago |
Xiang Li
|
853a458a0d
raft: change ins from array to map
|
10 years ago |
Xiang Li
|
5d710c0f7a
raft: add recvMsgBeat test
|
10 years ago |
Xiang Li
|
12572e5412
raft: add state transition test
|
10 years ago |
Xiang Li
|
920b80c41f
raft: add single node commit test
|
10 years ago |
Xiang Li
|
8111d4fbb8
raft: introduce network.cut
|
10 years ago |
Xiang Li
|
a6a63d116f
raft: add a test for commit rule
|
10 years ago |
Yicheng Qin
|
4d22ff90d5
raft: refactor network simulator
|
10 years ago |
Xiang Li
|
c32d34166e
raft: leader updates its own match; tries to commit after a prop
|
10 years ago |
Xiang Li
|
167ef7e8b0
raft: test leader replies to appResp
|
10 years ago |
Xiang Li
|
b3de2b3450
raft: testVote - breaks state machine init to multiple lines
|
10 years ago |
Xiang Li
|
59a720d8be
raft: vote test for candidate and leader
|
10 years ago |
Xiang Li
|
93b08502e4
raft: check voteFor
|
10 years ago |
Yicheng Qin
|
c1c45575be
raft: ins: []*index -> []index
|
10 years ago |
Xiang Li
|
1170c21f89
raft: add a single candidate test
|
10 years ago |
Xiang Li
|
0cdd1b58a4
raft: rename log.commit to log.committed
|
10 years ago |
Xiang Li
|
4c609ec59c
raft: new log struct
|
10 years ago |
Xiang Li
|
74737b76cc
raft: leader commit and test
|
10 years ago |