2015 Commits

Author SHA1 Message Date
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
Yicheng Qin
3fc68f00f0 Merge pull request #956 from jurmous/patch-2
Remove an invalid comma from api.md example
2014-08-25 08:20:31 -07:00
Yicheng Qin
4a04a89cb4 Merge pull request #955 from jurmous/patch-1
Adding missing comma to api.md
2014-08-25 08:18:21 -07:00
Yicheng Qin
b3970c8db1 Merge pull request #942 from robszumski/master
docs: clarify tuning timeouts
2014-08-25 08:16:33 -07:00
Yicheng Qin
36c57b7717 Merge pull request #939 from suzaku/ignore
Add .dockerignore to avoid including .git in docker build context
2014-08-25 08:15:03 -07:00
jurmous
8f629aae4b Remove an invalid comma from api.md example 2014-08-25 11:09:15 +02:00
jurmous
dead5e0eef Adding missing comma to api.md
Invalid json example
2014-08-25 10:55:56 +02:00
Yicheng Qin
fa156aaf53 Merge pull request #954 from ddysher/master
Fix Typo in api.md.
2014-08-24 13:36:49 -07:00
Deyuan Deng
e491c16afa Fix Typo in api.md. 2014-08-24 10:42:47 -04:00
Jonathan Boulle
95fe075a17 Merge pull request #950 from zxc122333/patch-1
doc:[readme.md] fix Planning/Roadmap 404
2014-08-22 15:58:40 -07:00
qinghong.sheng
e698c378e7 doc:readme.md fix Planning/Roadmap 404 2014-08-21 16:08:03 +08:00
Yicheng Qin
b083766608 Merge pull request #937 from andybons/patch-3
Update to Go 1.3.1
2014-08-20 12:55:33 -07:00
Yicheng Qin
82db1e7919 Merge pull request #923 from unihorn/113
docs: set snapshot to be true in default configuration
2014-08-20 10:02:04 -07:00
Rob Szumski
7c7a70202b docs: clarify tuning timeouts 2014-08-18 16:15:59 -04:00