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 |
Ben Darnell
|
46ee58c6f0
raft: Rename ErrSnapshotRequired To ErrCompacted.
|
10 years ago |
Xiang Li
|
bd4cfa2a07
raft: add handleHeartbeat
|
10 years ago |
Ben Darnell
|
300c5a2001
Merge remote-tracking branch 'coreos/master' into log-storage-interface
|
10 years ago |
Ben Darnell
|
64d9bcabf1
Add Storage.Term() method and hide the first entry from other methods.
|
10 years ago |
Yicheng Qin
|
7d0ffb3f12
raft: not set applied when restored from snapshot
|
10 years ago |
Ben Darnell
|
45e96be605
raft: PR feedback.
|
10 years ago |
Ben Darnell
|
0e8ffe9128
raft: remove a guard that is no longer necessary
|
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 |
Ben Darnell
|
147fd614ce
The initial term=0 log entry is now initially unstable.
|
10 years ago |
Ben Darnell
|
76a3de9a33
Require a non-nil Storage parameter in newLog.
|
10 years ago |
Yicheng Qin
|
7dba92dd53
raft: update unstable when calling stableTo with 0
|
10 years ago |
Ben Darnell
|
25b6590547
raft: introduce log storage interface.
|
10 years ago |
Ben Darnell
|
21987c8701
raft: remove raftLog.resetUnstable and resetNextEnts
|
10 years ago |
Xiang Li
|
0d7c43d885
*: add a Advance interface to raft.Node
|
10 years ago |
Yicheng Qin
|
421d5fbe72
raft: add tests based on section 5.3 in raft paper
|
10 years ago |
Xiang Li
|
738da2b3fa
raft: fix a incorrect in testMaybeAppend
|
10 years ago |
Xiang Li
|
74c257f63d
Merge pull request #1419 from xiangli-cmu/raft_log_test
|
10 years ago |
Xiang Li
|
460d6490ba
raft: address issues in comments
|
10 years ago |
Xiang Li
|
94f701cf95
raft: refactor isUpToDate and add a test
|
10 years ago |
Xiang Li
|
8cd95e916d
raft: comments for isUpToDate
|
10 years ago |
Xiang Li
|
86c66cd802
raft: remove unused code
|
10 years ago |
Xiang Li
|
90f26e4a56
raft: add test for findConflict
|
10 years ago |
Soheil Hassas Yeganeh
|
09e9618b02
raft: change raftLog.maybeAppend to return the last new index
|
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
|
fc42bdb904
raft: remove unused compactThreshold
|
10 years ago |
Xiang Li
|
af5b8c6c44
raft: int64 -> uint64
|
10 years ago |