Commit Graph

506 Commits (6108f8536f932dad27947b77ec4a9c6cf8aabbec)

Author SHA1 Message Date
Xiang Li 6108f8536f add testandset test 2013-08-23 01:37:20 -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
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
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 41b2175fe0 Merge pull request #134 from xiangli-cmu/removePeer
add remove peer
2013-08-19 17:22:02 -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
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
Brandon Philips ea28b1cdf3 bump(code.google.com/p/go.net): bc411e2ac33f 2013-08-18 19:43:24 -07:00
Brandon Philips 2662b3c559 bump(github.com/ccding/go-config-reader): 8b6c2b50197f20da3b1c5944c274c173634dc056 2013-08-18 19:43:20 -07:00
Brandon Philips 7ec0ee2a19 bump(github.com/ccding/go-logging): 4f3650d51969cc425c1940efa31fcb7c0bba86b3 2013-08-18 19:43:19 -07:00
Brandon Philips 13afdb0825 bump(github.com/coreos/go-etcd): 460022c1238ee0913013936e3486f41a3c7c1d7a 2013-08-18 19:43:14 -07:00
Brandon Philips 449cad4658 bump(github.com/coreos/go-raft): bb7f7ec92e4cb6d98241cea83f55d0e85e624189 2013-08-18 19:43:13 -07:00
Xiang Li 393ed439b1 Merge pull request #127 from xiangli-cmu/master
clean error handling
2013-08-18 19:03:51 -07:00
Xiang Li 1527b7008c fix test 2013-08-17 21:21:18 -07:00
Xiang Li 5357fb431e Pull deeply nested logic into functions 2013-08-17 20:55:52 -07:00
Xiang Li cf2d6888c2 add error package 2013-08-17 20:41:15 -07:00
Xiang Li 8ed67bedbb clean error handling 2013-08-17 15:06:21 -07:00
Brandon Philips ef4aef950e Merge pull request #126 from philips/fix-missing-info-file
fix(config): use IsNotExist to test missing file
2013-08-17 14:07:50 -07:00
Brandon Philips bcc77db8a9 fix(config): use IsNotExist to test missing file
Fixes #125 where a config file never gets created
2013-08-17 13:41:01 -07:00