Xiang Li
|
003b97a60f
raft: public progress struct in raft
|
10 years ago |
Ben Darnell
|
2e1c36cdd9
raft: introduce MsgHeartbeatResp.
|
10 years ago |
Xiang Li
|
35b907ac58
raft: add lastIndex as rejectHint
|
10 years ago |
Xiang Li
|
896bac1f76
raft: flush the commit to fix a race in test
|
10 years ago |
Xiang Li
|
88767d913d
raft: leader waits for the reply of previous message when follower is not in good path.
|
10 years ago |
Xiang Li
|
044e35b814
raft: use newRaft
|
10 years ago |
Yicheng Qin
|
3867c72c8a
raft: support to do multiple proposals in one message
|
10 years ago |
Xiang Li
|
197e6b1b20
Merge pull request #1858 from vlajos/typofixes-vlajos-20141204
|
10 years ago |
Veres Lajos
|
3de2ab2c04
*: typofixes
|
10 years ago |
Xiang Li
|
149389cbfa
raft: add msgHeartbeat type
|
10 years ago |
Xiang Li
|
b3841afcc3
raft: do not restore snapshot if local raft has longer matching history
|
10 years ago |
Xiang Li
|
788d1e59a2
raft: use index in entry
|
10 years ago |
Xiang Li
|
3c0fbe285c
raft: stableTo checks term matching
|
10 years ago |
Xiang Li
|
66252c7d62
raft: move all unstable stuff into one struct for future cleanup
|
10 years ago |
Xiang Li
|
65ad1f6ffd
raft: attach Index to Entry in all tests
|
10 years ago |
Ben Darnell
|
9ddd8ee539
Rename Storage.HardState back to InitialState and include ConfState.
|
10 years ago |
Ben Darnell
|
03c8881e35
Fix TestSlowNodeRestore
|
10 years ago |
Ben Darnell
|
0d680d0e6b
Merge remote-tracking branch 'coreos/master' into merge
|
10 years ago |
Xiang Li
|
063c5c77a0
raft: should not decrease match and next when handling out of order msgAppResp
|
10 years ago |
Ben Darnell
|
b29240baf0
Merge remote-tracking branch 'coreos/master' into merge
|
10 years ago |
Ben Darnell
|
355ee4f393
raft: Integrate snapshots into the raft.Storage interface.
|
10 years ago |
Xiang Li
|
b50f331558
Merge pull request #1744 from xiang90/next
|
10 years ago |
Xiang Li
|
4c1fd07311
raft: optimistically increase the next if the follower is already matched
|
10 years ago |
Xiang Li
|
bd4cfa2a07
raft: add handleHeartbeat
|
10 years ago |
Xiang Li
|
b93d87f17f
raft: include commitIndex in heartbeat
|
10 years ago |
Ben Darnell
|
64d9bcabf1
Add Storage.Term() method and hide the first entry from other methods.
|
10 years ago |
Ben Darnell
|
b29c512f50
Merge remote-tracking branch 'coreos/master' into log-storage-interface
|
10 years ago |
Ben Darnell
|
76a3de9a33
Require a non-nil Storage parameter in newLog.
|
10 years ago |
Yicheng Qin
|
78cbb1512c
raft: nodes return sorted ids
|
10 years ago |
Ben Darnell
|
25b6590547
raft: introduce log storage interface.
|
10 years ago |