Commit Graph

178 Commits

Author SHA1 Message Date
8af746ef6d accept machine list to join cluster 2013-07-10 19:02:58 -07:00
2eda27e9f4 return error when cannot join the cluster 2013-07-10 16:25:37 -07:00
ce0dc5433f em... should not use := 2013-07-09 20:52:41 -07:00
f5796244b4 clean up etcd.go 2013-07-09 20:37:00 -07:00
5271da3d19 gofmt 2013-07-09 17:31:24 -07:00
a3173bfd31 sepearte raft handlers and client handlers to two files and clean up related codes 2013-07-09 17:29:47 -07:00
fad972304c gofmt 2013-07-09 14:58:59 -07:00
9efba81c09 merge 2013-07-09 14:57:36 -07:00
5749b9db50 clean up transporter.go 2013-07-09 14:55:45 -07:00
e0ae3e245a remove unneeded usage 2013-07-09 14:18:09 -07:00
c52b76ac7b some defaults 2013-07-09 14:07:45 -07:00
1e9307e88a clean up tree.go and watcher.go 2013-07-09 13:14:12 -07:00
67a06ecca5 register new commands 2013-07-08 13:16:55 -07:00
dc3844a1f8 add testAndSet Command 2013-07-08 11:00:10 -07:00
e2f0420862 change imports to coreos/etcd coreos/go-raft; change API to work with new go-raft 2013-07-08 09:41:04 -07:00
0f22918e2b make sure leader join self as a peer 2013-07-06 22:32:08 -07:00
93c96b3813 add list feature 2013-07-05 16:22:45 -07:00
6edce10980 close resp body, close snapshot 2013-07-03 11:22:52 -07:00
ab285a90bb using go http lib to parse post body 2013-07-01 11:16:30 -07:00
f6b3d8a2af during the leader election, return error to client 2013-06-30 21:17:51 -07:00
e211554b91 watch accept sinceIndex 2013-06-30 16:30:41 -07:00
a2b44bf9b7 use map to store the results. 2013-06-30 10:09:05 -07:00
c2f436a58b fix redirect after seprate client and server pot 2013-06-28 15:37:29 -07:00
430f5d50e3 add command line varible -i to ignore the existing configuration 2013-06-28 15:04:05 -07:00
f67115b935 Allow different key,cert,CA for client and server communication 2013-06-28 14:46:05 -07:00
e3d556c319 seprate client and server port 2013-06-28 14:17:16 -07:00
337b1f73eb add -d option to give the directory to store the log and snapshot 2013-06-28 11:47:47 -07:00
f16f7275b4 rname raftd.go to etcd.go 2013-06-28 11:33:10 -07:00