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 |
Ben Darnell
|
21987c8701
raft: remove raftLog.resetUnstable and resetNextEnts
|
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 |
Yicheng Qin
|
bffe611fe6
raft: add tests based on section 5.2 in raft paper
|
10 years ago |
Xiang Li
|
507300130b
raft: add tests for ignoring heartbeat reply
|
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 |
Yicheng Qin
|
32c38820c1
raft: protobuf messageType
|
10 years ago |
Xiang Li
|
1eb1020717
raft: fix raft test
|
10 years ago |
Xiang Li
|
8bbbaa88b2
*: raft related int64 -> uint64
|
10 years ago |
Xiang Li
|
af5b8c6c44
raft: int64 -> uint64
|
10 years ago |
Xiang Li
|
38af14b0f4
Merge pull request #1260 from coreos/snap_rm
|
10 years ago |
Xiang Li
|
73f2aaf98f
raft: removedSlice -> removedNodes
|
10 years ago |
Xiang Li
|
c67fd14fe8
Merge pull request #1257 from bdarnell/cleanups
|
10 years ago |
Ben Darnell
|
d2e858587f
Raft: a few more improvements to test messages.
|
10 years ago |
Xiang Li
|
7b61565c0a
raft: save removed nodes in snapshot
|
10 years ago |
Xiang Li
|
1cd3345e00
raft: address issues with election timeout
|
10 years ago |
Ben Darnell
|
36558b1924
Raft: fix printf strings found by go vet.
|
10 years ago |
Ben Darnell
|
3ad0df3722
Raft: fix problems reported by golint.
|
10 years ago |
Xiang Li
|
f65d117462
raft: add a test for randElectionTimeout
|
10 years ago |