Xiang Li
|
9c8aff66a1
|
raft: randomize election timeout
|
2014-09-03 09:19:50 -07:00 |
|
Yicheng Qin
|
f1853b4364
|
raft: add msgDenial to deny removed nodes
|
2014-09-03 09:19:49 -07:00 |
|
Xiang Li
|
447d7dc51b
|
raft: fix log append; add tests
|
2014-09-03 09:19:49 -07:00 |
|
Xiang Li
|
30f4d9faea
|
raft: change index and term to int64
|
2014-09-03 09:05:14 -07:00 |
|
Xiang Li
|
c3f8eabac3
|
etcd: separate raft and client port
|
2014-09-03 09:05:13 -07:00 |
|
Xiang Li
|
2af0ad505a
|
raft: make id int64
|
2014-09-03 09:05:12 -07:00 |
|
Yicheng Qin
|
62a90e77b3
|
raft: send Normal with nil Data when leader is elected out
|
2014-09-03 09:05:12 -07:00 |
|
Yicheng Qin
|
8eac28350d
|
raft: avoid unexpected self-bootstrap state machine
|
2014-09-03 09:05:12 -07:00 |
|
Xiang Li
|
e9cb510ef5
|
raft: node.Add needs the pubAddr field
|
2014-09-03 09:05:12 -07:00 |
|
Blake Mizerany
|
8344303b1a
|
raft: addr -> id
|
2014-09-03 09:05:11 -07:00 |
|
Blake Mizerany
|
cb2095cddc
|
raft: fix typo
|
2014-09-03 09:05:10 -07:00 |
|
Blake Mizerany
|
abd2448931
|
raft: addr -> id
|
2014-09-03 09:05:10 -07:00 |
|
Blake Mizerany
|
7cdd148e24
|
raft: StartCluster -> Dictate
|
2014-09-03 09:05:09 -07:00 |
|
Yicheng Qin
|
5cad4e595c
|
raft: add create cluster of itself
|
2014-09-03 09:05:09 -07:00 |
|
Yicheng Qin
|
193756fa38
|
raft: add remove node
|
2014-09-03 09:05:09 -07:00 |
|
Xiang Li
|
961518c893
|
raft: execute log entries in node.step
|
2014-09-03 09:05:09 -07:00 |
|
Xiang Li
|
853a458a0d
|
raft: change ins from array to map
|
2014-09-03 09:05:09 -07:00 |
|
Xiang Li
|
c7e358922b
|
raft: add elaspe reset test
|
2014-09-03 09:05:09 -07:00 |
|
Yicheng Qin
|
4d22ff90d5
|
raft: refactor network simulator
Signed-off-by: Blake Mizerany <blake.mizerany@gmail.com>
|
2014-09-03 09:05:08 -07:00 |
|
Xiang Li
|
09d1575eeb
|
raft: node.tick
|
2014-09-03 09:05:08 -07:00 |
|