Xiang Li
|
9455119968
raft: always check leader changes in node run loop
|
10 years ago |
Ben Darnell
|
9ddd8ee539
Rename Storage.HardState back to InitialState and include ConfState.
|
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
|
54b07d7974
Remove raft.loadEnts and the ents parameter to raft.RestartNode.
|
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 |
Jonathan Boulle
|
b99633207c
raft: minor cleanup in comments
|
10 years ago |
Jonathan Boulle
|
0cf0cb3d02
raft: add tests for progress.maybeDecr
|
10 years ago |
Jonathan Boulle
|
81304b2b7e
raft: move test helper function into tests
|
10 years ago |
Xiang Li
|
74c257f63d
Merge pull request #1419 from xiangli-cmu/raft_log_test
|
10 years ago |
Yicheng Qin
|
b986a52579
raft: use raft-specific rand.Rand instead of global one
|
10 years ago |
Xiang Li
|
94f701cf95
raft: refactor isUpToDate and add a test
|
10 years ago |
Soheil Hassas Yeganeh
|
09e9618b02
raft: change raftLog.maybeAppend to return the last new index
|
10 years ago |
Soheil Hassas Yeganeh
|
233617bea2
raft: Make MsgAppRes ack only the last index in MsgApp
|
10 years ago |
Yicheng Qin
|
e200d2a8e2
etcdserver/raft: remove msgDenied, removedNodes, shouldStop
|
10 years ago |
Jonathan Boulle
|
7a4d42166b
*: add license header to all source files
|
10 years ago |
Jonathan Boulle
|
8168fed825
etcdserver: add ServerStats and LeaderStats
|
10 years ago |
Yicheng Qin
|
8cd6030a1d
etcdserver: add checking when apply conf change
|
10 years ago |
Yicheng Qin
|
eb2dd1892f
raft: add RemovedNodes to SoftState
|
10 years ago |
Yicheng Qin
|
32c38820c1
raft: protobuf messageType
|
10 years ago |
Xiang Li
|
1eb1020717
raft: fix raft test
|
10 years ago |