Vincent Lee
|
30ced5b2be
raft: let raft step return error when proposal is dropped to allow fail-fast.
|
8 years ago |
Ben Darnell
|
22aa710c1f
raft: Improve comments and formatting for PreVote change
|
9 years ago |
Ben Darnell
|
ca87a13b18
raft: More realistic terms in tests
|
9 years ago |
Gyu-Ho Lee
|
fe884f8209
raft: update LICENSE header
|
9 years ago |
Xiang Li
|
2fa5b913fe
raft: fix flaky test
|
9 years ago |
Gyu-Ho Lee
|
c09f23c46d
*: clean up bool comparison
|
9 years ago |
Xiang Li
|
5d431b4782
raft: lower split vote rate
|
9 years ago |
siddontang
|
54a45ba2f5
*: fix typo
|
10 years ago |
Hitoshi Mitake
|
9b2da76796
raft: remove go vet compliants
|
10 years ago |
Xiang Li
|
d9b5b56c82
raft: make raft configurable
|
10 years ago |
Xiang Li
|
c643967a41
raft: reply with the commit index when receives a smaller append message
|
10 years ago |
Xiang Li
|
97579e2e1d
raft: introduce logger interface
|
10 years ago |
Barak Michener
|
92dca0af0f
*: remove shadowing of variables from etcd and add travis test
|
11 years ago |
Jonathan Boulle
|
f1ed69e883
*: switch to line comments for copyright
|
11 years ago |
Ben Darnell
|
59214978a2
raft: Add applied index as an argument to newRaft and RestartNode.
|
11 years ago |
Ben Darnell
|
9972e62d94
raft: Use <= instead of < for heartbeat ticks.
|
11 years ago |
Yicheng Qin
|
7a2fa39e52
Merge pull request #2012 from andybons/master
|
11 years ago |
Xiang Li
|
35b907ac58
raft: add lastIndex as rejectHint
|
11 years ago |
Andrew Bonventre
|
4463f5c4b3
raft: add link to the paper raft_paper_tests.go refers to
|
11 years ago |
Xiang Li
|
149389cbfa
raft: add msgHeartbeat type
|
11 years ago |
Xiang Li
|
788d1e59a2
raft: use index in entry
|
11 years ago |
Xiang Li
|
51de095d2c
raft: logging state change events and events on bad path
|
11 years ago |
Xiang Li
|
3c0fbe285c
raft: stableTo checks term matching
|
11 years ago |
Xiang Li
|
65ad1f6ffd
raft: attach Index to Entry in all tests
|
11 years ago |
Ben Darnell
|
b29240baf0
Merge remote-tracking branch 'coreos/master' into merge
|
11 years ago |
Xiang Li
|
bd4cfa2a07
raft: add handleHeartbeat
|
11 years ago |
Ben Darnell
|
64d9bcabf1
Add Storage.Term() method and hide the first entry from other methods.
|
11 years ago |
Ben Darnell
|
54b07d7974
Remove raft.loadEnts and the ents parameter to raft.RestartNode.
|
11 years ago |
Ben Darnell
|
147fd614ce
The initial term=0 log entry is now initially unstable.
|
11 years ago |
Ben Darnell
|
76a3de9a33
Require a non-nil Storage parameter in newLog.
|
11 years ago |