Ben Darnell
|
36558b1924
Raft: fix printf strings found by go vet.
|
10 years ago |
Xiang Li
|
d7d6f84f64
raft: rand election timeout
|
10 years ago |
Xiang Li
|
45e4a8643a
raft: add tests for raft.compact
|
10 years ago |
Xiang Li
|
5587e0d73f
raft: compact takes index and nodes parameters
|
10 years ago |
Yicheng Qin
|
45ebfb4217
raft: refine initial entries logic in StartNode
|
10 years ago |
Yicheng Qin
|
314d425718
main/raft: write addNode ConfChange entries in log when start raft
|
10 years ago |
Yicheng Qin
|
e4a6c9651a
raft: add removed
|
10 years ago |
Xiang Li
|
45f71af33e
pkg: move testutil to pkg
|
10 years ago |
Xiang Li
|
25c2768b8f
raft: node ignores unexpected local messages receiving from network
|
10 years ago |
Yicheng Qin
|
f2ebd64a1b
*: add testutil pkg
|
10 years ago |
Jonathan Boulle
|
b66a40495d
raft: introduce Node interface
|
10 years ago |
Xiang Li
|
ab61a8aa9a
*: init for on disk snap support
|
10 years ago |
Yicheng Qin
|
de21c39ca5
raft: isStateEqual -> isHardStateEqual, IsEmptyState -> IsEmptyHardState
|
10 years ago |
Yicheng Qin
|
023dc7cba2
etcdserver: add SYNC request
|
10 years ago |
Yicheng Qin
|
cc8d8f2102
raft: remove unused raftpb.LastIndex
|
10 years ago |
Yicheng Qin
|
140fd6d6c4
raft: restart using last written entry also
|
10 years ago |
Yicheng Qin
|
a9af70c52b
raft: write entry 0 into log
|
10 years ago |
Xiang Li
|
ff7f340bba
Merge pull request #1063 from coreos/node_run_test
|
10 years ago |
Xiang Li
|
e085cc4e06
Merge pull request #1042 from unihorn/118
|
10 years ago |
Xiang Li
|
ccee264b7d
raft: move defer after run
|
10 years ago |
Xiang Li
|
45f56a5377
raft: forceGoSched -> forceGosched
|
10 years ago |
Xiang Li
|
5c884c7797
raft: better comment and naming
|
10 years ago |
Xiang Li
|
0c09862494
raft: add isStateEqual test
|
10 years ago |
Xiang Li
|
f9ef453894
raft: test contain updates
|
10 years ago |
Xiang Li
|
b261a5edc1
raft: test node block proposal
|
10 years ago |
Yicheng Qin
|
073411f23f
raft: remove vote with default value
|
10 years ago |
Xiang Li
|
281afa74ee
raft: comments for TestNodeStep
|
10 years ago |
Xiang Li
|
eb1dcb324c
raft: test node step
|
10 years ago |
Yicheng Qin
|
b50f96e2e1
raft: set none to be 0
|
10 years ago |
Xiang Li
|
90c0db3d42
wal: do not save empty state
|
10 years ago |