2868 Commits

Author SHA1 Message Date
Xiang Li
6108f8536f add testandset test 2013-08-23 01:37:20 -04:00
Xiang Li
808eb64bd7 tmp commit 2013-08-23 01:25:35 -04:00
Xiang Li
4a617979a9 Merge pull request #142 from Mistobaan/master
invert logic to have less nesting
2013-08-22 22:11:20 -07:00
Fabrizio (Misto) Milo
a543d644b4 Split raw get into rawGetNode and rawGetNodeList 2013-08-22 22:02:50 -07:00
Fabrizio (Misto) Milo
6345e02d20 test and set creates the key if key does not exists. fixes #96 2013-08-22 22:02:50 -07:00
Fatih Arslan
91aed9e232 Fix error code in README.md
There is no error code with number 404. It returns
100 when no key exist.
2013-08-22 21:59:10 -07:00
Brandon Philips
50d53f3ae0 fix(README): add cd etcd on build instructions
thanks to edw in #coreos for the fix
2013-08-22 13:13:41 -07:00
Xiang Li
29b7aab5fc Merge pull request #141 from Hoverbear/patch-1
Added a PUT handler that copies the behavior of the POST handler.
2013-08-21 14:50:30 -07:00
Andrew Hobden
4f436ae70a Added a PUT handler that copies the behavior of the POST handler. Fixes #139. 2013-08-21 14:43:25 -07:00
Xiang Li
23995ffc59 add recvQueue 2013-08-21 14:34:52 -07:00
Brandon Philips
4adc17eb01 Merge pull request #140 from marineam/quote
fix(build): If you quote in shell you're going to have a bad time.
2013-08-21 14:32:29 -07:00
Michael Marineau
e856acf05e fix(build): If you quote in shell you're going to have a bad time. 2013-08-21 17:25:38 -04:00
Xiang Li
6ef18b1ae3 thread-saft queue 2013-08-21 13:35:15 -07:00
Brandon Philips
9b7109b466 Merge pull request #137 from fatih/patch-1
Fix error code in README.md
2013-08-21 11:26:15 -07:00
Brandon Philips
8eca7b2ca8 Merge pull request #138 from fatih/patch-2
Fix api urls in examples
2013-08-21 06:05:16 -07:00
Fatih Arslan
800c4718c1 Fix api urls in examples
They don't work without the v1
2013-08-21 14:43:43 +03:00
Fatih Arslan
7563a13621 Fix error code in README.md
There is no error code with number 404. It returns 
100 when no key exist.
2013-08-21 14:21:17 +03:00
Xiang Li
10cdaea059 make a better array cyc-queue 2013-08-20 16:48:41 -07:00
Xiang Li
f75c309d26 sampling sending rate 2013-08-20 16:33:54 -07:00
Xiang Li
896c944c7e add serverStats 2013-08-20 14:05:23 -07:00
Xiang Li
2b66641b55 bump deps 2013-08-19 20:36:13 -07:00
Xiang Li
9a63723bbe add sdv 2013-08-19 20:35:56 -07:00
Xiang Li
d8cd744f2f fix remove node 2013-08-19 19:07:18 -07:00
Xiang Li
e4b164c324 add avg 2013-08-19 17:40:13 -07:00
Xiang Li
7a9fae9530 better warn on restart the entire cluster 2013-08-19 17:22:33 -07:00
Xiang Li
41b2175fe0 Merge pull request #134 from xiangli-cmu/removePeer
add remove peer
2013-08-19 17:22:02 -07:00
Xiang Li
a97590ff50 basic stats 2013-08-19 17:19:45 -07:00
Xiang Li
dd2f856d63 if the whole cluster dies, should not panic 2013-08-19 16:26:09 -07:00
Xiang Li
798d52e695 simplify remove/join process; add tests 2013-08-19 15:28:01 -07:00
Xiang Li
fb9f09d240 use commandname 2013-08-19 13:43:12 -07:00
Xiang Li
49c160b50c change getMachines 2013-08-19 13:42:00 -07:00
Xiang Li
64e6d54758 add remove peer 2013-08-19 12:10:11 -07:00
Xiang Li
e7caa1475e Merge pull request #133 from xiangli-cmu/master
add killAllAndRecovery test
2013-08-19 10:51:18 -07:00
Xiang Li
57ef6e9f5a add killallAndReocery test 2013-08-19 10:46:16 -07:00
Xiang Li
7b289043c7 Merge pull request #130 from philips/add-version-to-join2
add versioning to cluster join
v0.1.1
2013-08-19 09:45:49 -07:00
Brandon Philips
b430a07e1b chore(name_url_map): rename version to raftVersion
make it more clear that we are referring to the raftVersion.
2013-08-19 09:37:34 -07:00
Xiang Li
52cbc89607 Merge pull request #132 from philips/add-new-projects2
feat(README): add etcdenv project
2013-08-19 09:22:53 -07:00
Brandon Philips
e848659db6 feat(README): add etcdenv project 2013-08-19 09:21:36 -07:00
Xiang Li
9683bd37a7 Merge pull request #131 from philips/add-new-projects
feat(README): add some new projects
2013-08-19 09:20:06 -07:00
Brandon Philips
2991bf58e1 feat(README): add etcd-vim 2013-08-19 09:17:06 -07:00
Brandon Philips
e0731233c2 feat(README): add some new projects 2013-08-19 09:12:14 -07:00
Brandon Philips
bfc68e8e37 fix(raft_server): rename getLeaderVersion to getVersion 2013-08-19 08:53:15 -07:00
Brandon Philips
3fff0a3c2b fix(version): add raftVersion to the version file 2013-08-19 08:45:58 -07:00
Brandon Philips
fc776f2ad6 fix(raft_server): add comment on version field
explain what the version field is for and why it is set to
releaseVersion
2013-08-18 21:54:07 -07:00
Brandon Philips
e79f6842bb fix(command): change Version to RaftVersion
clear up confusion on what this field is used for: it is for the
internal raft protocol version only.
2013-08-18 21:54:07 -07:00
Brandon Philips
2c9e90d6ad feat(raft_server): do not allow mixed versions
fail to join if there is an internal version mismatch.
2013-08-18 21:54:07 -07:00
Brandon Philips
53b2038d2e feat(command): add version to join command
Add a version to the join command. Add a versioning document to discuss
some of the design decisions.
2013-08-18 21:54:07 -07:00
Xiang Li
e091923311 Merge pull request #128 from xiangli-cmu/bump
Bump
2013-08-18 21:35:55 -07:00
Xiang Li
f813017f1b fix raft api 2013-08-18 21:12:36 -07:00
Brandon Philips
111888adea bump(code.google.com/p/goprotobuf): 1141ccae4b85 2013-08-18 19:43:26 -07:00