Gyuho Lee
|
7aaaa0d82f
raft: do not use underscore in var name
|
6 years ago |
Gyuho Lee
|
0249c39cb3
raft: remove unnecessary type conversion
|
6 years ago |
Xiang Li
|
20cf7f4d5b
Merge pull request #9671 from lorneli/raft-test
|
6 years ago |
Gyuho Lee
|
e7adfb0ebf
raft: use different parameters for tests
|
6 years ago |
lorneli
|
3d12e36c7e
raft: merge test cases of pre-candidate with the normal one
|
6 years ago |
Gyuho Lee
|
8aae8c1c9c
raft: document disruptive rejoining server, add tests
|
6 years ago |
Gyuho Lee
|
d808b4686c
raft: fix typo in raft_test.go
|
6 years ago |
Gyuho Lee
|
38846c220a
raft: use leader's term when candidate becomes follower
|
6 years ago |
Xiang Li
|
d54f281b26
Merge pull request #8525 from shuaili87/pre-vote-compatible
|
7 years ago |
Xiang Li
|
c5532ebbf6
Merge pull request #9067 from absolute8511/optimize-raft-drop
|
7 years ago |
Vincent Lee
|
30ced5b2be
raft: let raft step return error when proposal is dropped to allow fail-fast.
|
7 years ago |
Vincent Lee
|
11fa4f0275
raft: raft learners should be returned after applyConfChange
|
7 years ago |
Xiang Li
|
ed1ff9e952
Merge pull request #9073 from bdarnell/pending-conf-index
|
7 years ago |
Nathan VanBenschoten
|
e6dc57f708
raft: s/leaner/learner/g
|
7 years ago |
Ben Darnell
|
8d8f3195e4
raft: Avoid scanning raft log in becomeLeader
|
7 years ago |
siddontang
|
c6f2db2e92
raft: support learner
|
7 years ago |
Xiang
|
9801fd7297
raft: ensure CheckQuorum is enabled when readonlyoption is lease based
|
7 years ago |
gladiator
|
58b98c6a14
raft: check leader request when becomeFollower
|
7 years ago |
gladiator
|
8597361f01
raft: fix Pre-Vote migration
|
7 years ago |
irfan sharif
|
248384a468
raft: (re-)introduce TestRecvMsgPreVote
|
7 years ago |
gladiator
|
42cc64a9e5
raft: add TestPreVoteWithSplitVote
|
7 years ago |
irfan sharif
|
a92ceeec25
raft: introduce/fix TestNodeWithSmallerTermCanCompleteElection
|
7 years ago |
Aaron Lehmann
|
9451fa1f9c
raft: Add unit test TestAddNodeCheckQuorum
|
7 years ago |
fanmin shi
|
f18ae033a7
raft: use rs.req.Entries[0].Data as the key for deletion in advance()
|
7 years ago |
Dylan.Wen
|
bc6bebe7b0
raft: revise test case and fix typo
|
7 years ago |
Dylan.Wen
|
9342647e0c
raft: fix read index request for #7331
|
7 years ago |
Dylan.Wen
|
7bb768ba34
raft: fix test case for #7042
|
8 years ago |
Xiang Li
|
b940e0d514
Merge pull request #7042 from petermattis/pmattis/resume-after-heartbeat-resp
|
8 years ago |
Dylan.Wen
|
920b155f17
raft: fix pre-vote tests
|
8 years ago |
Peter Mattis
|
e625400f1d
raft: resume paused followers on receipt of MsgHeartbeatResp
|
8 years ago |