Xiang Li
|
59a720d8be
|
raft: vote test for candidate and leader
|
2014-09-03 09:05:07 -07:00 |
|
Xiang Li
|
828a8cf326
|
raft: leader denies vote with the same term
|
2014-09-03 09:05:07 -07:00 |
|
Xiang Li
|
93b08502e4
|
raft: check voteFor
|
2014-09-03 09:05:07 -07:00 |
|
Yicheng Qin
|
c1c45575be
|
raft: ins: []*index -> []index
It could make raft faster, use less storage.
|
2014-09-03 09:05:07 -07:00 |
|
Xiang Li
|
1170c21f89
|
raft: add a single candidate test
|
2014-09-03 09:05:07 -07:00 |
|
Xiang Li
|
2066ff5acb
|
raft: candidate should become leader directly if it is a one node cluster
|
2014-09-03 09:05:07 -07:00 |
|
Xiang Li
|
0cdd1b58a4
|
raft: rename log.commit to log.committed
|
2014-09-03 09:05:07 -07:00 |
|
Xiang Li
|
9cd3b2153f
|
raft: comment log.nextEnts
|
2014-09-03 09:05:07 -07:00 |
|
Xiang Li
|
a06729a96a
|
raft: use log.lastIndex()
|
2014-09-03 09:05:07 -07:00 |
|
Xiang Li
|
888ddacd3c
|
raft: remove the init cap of log entries
|
2014-09-03 09:05:06 -07:00 |
|
Xiang Li
|
2ef9498d6f
|
raft: remove TLA comment
|
2014-09-03 09:05:06 -07:00 |
|
Xiang Li
|
1f0e13e956
|
raft: remove sm.voteWorthy
|
2014-09-03 09:05:06 -07:00 |
|
Xiang Li
|
bee9d8bea5
|
raft: add log.maybeAppend
|
2014-09-03 09:05:06 -07:00 |
|
Xiang Li
|
b70be19653
|
raft: add log.maybeCommit
|
2014-09-03 09:05:06 -07:00 |
|
Xiang Li
|
092461d7c8
|
raft: rename log.len to log.lastIndex
|
2014-09-03 09:05:06 -07:00 |
|
Xiang Li
|
8f3d109c18
|
raft: rename log.isOk to log.matchTerm
|
2014-09-03 09:05:06 -07:00 |
|
Xiang Li
|
4c609ec59c
|
raft: new log struct
|
2014-09-03 09:05:06 -07:00 |
|
Xiang Li
|
cb7b75c15f
|
raft: remove unused function maybeAppend
Signed-off-by: Blake Mizerany <blake.mizerany@gmail.com>
|
2014-09-03 09:05:06 -07:00 |
|
Xiang Li
|
74737b76cc
|
raft: leader commit and test
Signed-off-by: Blake Mizerany <blake.mizerany@gmail.com>
|
2014-09-03 09:05:06 -07:00 |
|
Xiang Li
|
c223eca938
|
raft: clean stateMachine
|
2014-09-03 09:05:06 -07:00 |
|
Xiang Li
|
5b052e1e10
|
raft: prop msg type should be MsgProp
|
2014-09-03 09:05:06 -07:00 |
|
Xiang Li
|
ab79550693
|
raft: use becomeFollower in cadidate state
|
2014-09-03 09:05:06 -07:00 |
|
Xiang Li
|
73e3394d2d
|
raft: reverse sort to figure out the ci
|
2014-09-03 09:05:05 -07:00 |
|
Blake Mizerany
|
8ddcd9799d
|
raft: go fmt
|
2014-09-03 09:05:05 -07:00 |
|
Blake Mizerany
|
6e0a668455
|
raft: add Node.Next
|
2014-09-03 09:05:05 -07:00 |
|
Blake Mizerany
|
9545662c6b
|
raft: return *Node
|
2014-09-03 09:05:05 -07:00 |
|
Blake Mizerany
|
50e0db4038
|
raft: attempt first version of Interface
|
2014-09-03 09:05:05 -07:00 |
|
Blake Mizerany
|
8d7be33dd8
|
raft: move to raft pkg
|
2014-09-03 09:05:05 -07:00 |
|
Blake Mizerany
|
f6f4329899
|
raft: test logs converge
|
2014-09-03 09:05:05 -07:00 |
|
Blake Mizerany
|
935320289e
|
raft: remove defunct empty var
|
2014-09-03 09:05:05 -07:00 |
|
Blake Mizerany
|
8353340697
|
raft: remove defunct println
|
2014-09-03 09:05:05 -07:00 |
|
Blake Mizerany
|
45500c5e7b
|
raft: test candidate concede
|
2014-09-03 09:05:05 -07:00 |
|
Blake Mizerany
|
8942415933
|
raft: test failed election
|
2014-09-03 09:05:05 -07:00 |
|
Blake Mizerany
|
fcc7a42d6c
|
raft: remove heal from network
|
2014-09-03 09:05:05 -07:00 |
|
Blake Mizerany
|
13012ddd9a
|
raft: test vote
|
2014-09-03 09:05:04 -07:00 |
|
Blake Mizerany
|
706c6df2ce
|
raft: add TODO
|
2014-09-03 09:05:04 -07:00 |
|
Blake Mizerany
|
0ac49ba58d
|
raft: fix logDiff false positives
|
2014-09-03 09:05:04 -07:00 |
|
Blake Mizerany
|
b06c0cc3ec
|
raft: ignore old messages
|
2014-09-03 09:05:04 -07:00 |
|
Blake Mizerany
|
895d80d0e1
|
raft: test dualing proposers
|
2014-09-03 09:05:04 -07:00 |
|
Blake Mizerany
|
0ca153e1e5
|
raft: make testing logs easier
|
2014-09-03 09:05:04 -07:00 |
|
Blake Mizerany
|
9f8ede7b03
|
start new raft implementation
|
2014-09-03 09:05:04 -07:00 |
|
Yicheng Qin
|
0a2384bf4d
|
Merge pull request #969 from jurmous/patch-5
Add Etcd4j as a new Java client option
|
2014-08-29 09:15:16 -07:00 |
|
Jurriaan Mous
|
be0bb56525
|
Add Etcd4j as a new Java client option
|
2014-08-29 10:45:46 +02:00 |
|
Yicheng Qin
|
6e70dfc33a
|
Merge pull request #967 from jurmous/patch-3
Update clients-matrix.md
|
2014-08-28 14:38:58 -07:00 |
|
Jurriaan Mous
|
0e1f0a734b
|
Swapped the clients with the features on the clients matrix so it is more comprehensible. The old version got too large to show on the screen. This new layout added a language column so you can quickly see the language of the client library.
Added alphabetical sorting to the clients list.
Also moved v1-only clients to the bottom since v2 is what most people are looking for today.
|
2014-08-28 23:20:23 +02:00 |
|
Yicheng Qin
|
2b6e45d0ee
|
Merge pull request #966 from justintime/patch-1
Add link to etcd-browser under Tools heading
|
2014-08-28 11:11:19 -07:00 |
|
Justin Ellison
|
07217b8d7c
|
Add link to etcd-browser under Tools heading
|
2014-08-28 12:02:39 -05:00 |
|
jurmous
|
6ea8da077e
|
Merge pull request #1 from coreos/master
Pull coreos changes into this fork
|
2014-08-28 10:14:14 +02:00 |
|
Yicheng Qin
|
ab4bcc1869
|
Merge pull request #962 from aterreno/master
Added etc-clojure to the list of clients supporting V.2 api
|
2014-08-27 17:31:06 -07:00 |
|
Antonio Terreno
|
0e53287ea2
|
Added etc-clojure to the list of clients supporting V.2 api
|
2014-08-27 09:50:08 +01:00 |
|