495 Commits

Author SHA1 Message Date
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
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
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
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
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
Brandon Philips
f1786b8083 Merge pull request #122 from philips/fix-nip-in-transporter
chore(trasnsporter): delete unused variables
2013-08-17 09:06:16 -07:00
Xiang Li
ec6a7be63a Merge pull request #124 from philips/xiangli-cleanup
Cleanups from #112
2013-08-17 08:36:46 -07:00
Xiang Li
e50871cc36 remove unused struct 2013-08-17 08:30:32 -07:00
Xiang Li
5bd24d8271 wait for exit and release resource 2013-08-17 08:30:32 -07:00
Fabrizio (Misto) Milo
c459b4bda7 go flavour 2013-08-17 08:30:31 -07:00
Xiang Li
981351c9d9 use type inheritance 2013-08-17 08:30:31 -07:00
Xiang Li
012e747f18 make ttl test not so strict. testing server is not fast 2013-08-17 08:30:31 -07:00
Xiang Li
e0ca8f20d2 add newJoinCommand func(). 2013-08-17 08:30:31 -07:00
Xiang Li
ca4b5815f7 make raft and etcd server 2013-08-17 08:30:31 -07:00
Xiang Li
f490fba698 also return API version 2013-08-17 08:30:31 -07:00
Xiang Li
6bdb9af7f6 handler version at /version 2013-08-17 08:30:31 -07:00