Yicheng Qin
|
78cbb1512c
raft: nodes return sorted ids
|
11 years ago |
Jonathan Boulle
|
b99633207c
raft: minor cleanup in comments
|
11 years ago |
Jonathan Boulle
|
0cf0cb3d02
raft: add tests for progress.maybeDecr
|
11 years ago |
Jonathan Boulle
|
81304b2b7e
raft: move test helper function into tests
|
11 years ago |
Xiang Li
|
74c257f63d
Merge pull request #1419 from xiangli-cmu/raft_log_test
|
11 years ago |
Yicheng Qin
|
b986a52579
raft: use raft-specific rand.Rand instead of global one
|
11 years ago |
Xiang Li
|
94f701cf95
raft: refactor isUpToDate and add a test
|
11 years ago |
Soheil Hassas Yeganeh
|
09e9618b02
raft: change raftLog.maybeAppend to return the last new index
|
11 years ago |
Soheil Hassas Yeganeh
|
233617bea2
raft: Make MsgAppRes ack only the last index in MsgApp
|
11 years ago |
Yicheng Qin
|
e200d2a8e2
etcdserver/raft: remove msgDenied, removedNodes, shouldStop
|
11 years ago |
Jonathan Boulle
|
7a4d42166b
*: add license header to all source files
|
11 years ago |
Jonathan Boulle
|
8168fed825
etcdserver: add ServerStats and LeaderStats
|
11 years ago |
Yicheng Qin
|
8cd6030a1d
etcdserver: add checking when apply conf change
|
11 years ago |
Yicheng Qin
|
eb2dd1892f
raft: add RemovedNodes to SoftState
|
11 years ago |
Yicheng Qin
|
32c38820c1
raft: protobuf messageType
|
11 years ago |
Xiang Li
|
1eb1020717
raft: fix raft test
|
11 years ago |
Xiang Li
|
af5b8c6c44
raft: int64 -> uint64
|
11 years ago |
Xiang Li
|
38af14b0f4
Merge pull request #1260 from coreos/snap_rm
|
11 years ago |
Xiang Li
|
abe97e49d5
raft: more comment
|
11 years ago |
Xiang Li
|
73f2aaf98f
raft: removedSlice -> removedNodes
|
11 years ago |
Xiang Li
|
c67fd14fe8
Merge pull request #1257 from bdarnell/cleanups
|
11 years ago |
Xiang Li
|
7b61565c0a
raft: save removed nodes in snapshot
|
11 years ago |
Xiang Li
|
1cd3345e00
raft: address issues with election timeout
|
11 years ago |
Ben Darnell
|
1083ce8f73
raft: remove misleading labels in array definition
|
11 years ago |
Ben Darnell
|
3ad0df3722
Raft: fix problems reported by golint.
|
11 years ago |
Xiang Li
|
d7d6f84f64
raft: rand election timeout
|
11 years ago |
Xiang Li
|
45e4a8643a
raft: add tests for raft.compact
|
11 years ago |
Xiang Li
|
5587e0d73f
raft: compact takes index and nodes parameters
|
11 years ago |
Xiang Li
|
dc9cb4b4ba
raft: fix send
|
11 years ago |
Xiang Li
|
70bf464cd6
raft: add comment to decrTo
|
11 years ago |