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 |
Xiang Li
|
01ecc60a88
Merge pull request #1203 from coreos/fix_raft
|
10 years ago |
Xiang Li
|
172bd7d096
raft: add test for maybeappend change
|
10 years ago |
Xiang Li
|
16ba77767e
raft: do not decrease nextIndex and send entries for stale reply
|
10 years ago |
Yicheng Qin
|
8490904f20
Merge pull request #1224 from unihorn/149
|
10 years ago |
Yicheng Qin
|
fff918c672
raft: msg.Denied -> msg.Reject
|
10 years ago |
Yicheng Qin
|
182c8316e1
raft: refine comment for doc and removed list tests
|
10 years ago |
Yicheng Qin
|
e4a6c9651a
raft: add removed
|
10 years ago |
Xiang Li
|
d7b4e44a66
raft: heartbeat is only response for maintaining leader dominance
|
10 years ago |
Xiang Li
|
e26ff32fd8
raft: fix error msg
|
10 years ago |
Xiang Li
|
51529cc3f2
raft: remove index field in msg AppResp
|
10 years ago |
Xiang Li
|
adefd83855
raft: remove index field in msg voteResp
|
10 years ago |
Xiang Li
|
86473d8a27
raft: add msg denied field
|
10 years ago |
Yicheng Qin
|
1ca03d8e9d
raft: move logic to separate func
|
10 years ago |
Yicheng Qin
|
b07be74a82
raft: stop tickElection when the node is not in peer list
|
10 years ago |
Yicheng Qin
|
bc7b0108dc
raft: ConfigChange -> ConfChange
|
10 years ago |
Yicheng Qin
|
d92931853e
raft: Config -> ConfigChange
|
10 years ago |
Yicheng Qin
|
b82d70871f
raft: use EntryType in protobuf
|
10 years ago |
Yicheng Qin
|
ff6705b94b
raft: add Configure, AddNode, RemoveNode
|
10 years ago |
Yicheng Qin
|
023dc7cba2
etcdserver: add SYNC request
|
10 years ago |
Xiang Li
|
f9c12e2053
Merge pull request #1075 from coreos/fix_heartbeat
|
10 years ago |
Xiang Li
|
21d116d3e1
raft: fix heartbeat
|
10 years ago |
Xiang Li
|
e7ea6a374a
main: check node id is not noneid
|
10 years ago |
Yicheng Qin
|
2927cc6e3b
raft: refine plus assignment
|
10 years ago |
Yicheng Qin
|
30289dad5c
raft: more descriptive panic info
|
10 years ago |
Yicheng Qin
|
dc1357afa9
raft: use raft helper function in testing
|
10 years ago |
Yicheng Qin
|
0e0fc2bd24
raft: use [1,n] as address list for raft state machines
|
10 years ago |
Yicheng Qin
|
84c2bd0b7d
raft: set From of local message to be local id
|
10 years ago |