137 Commits

Author SHA1 Message Date
Xiang Li
89bacedf3e change https bool to scheme string 2013-07-12 08:44:40 -07:00
Xiang Li
a131632d3d error handling 2013-07-12 08:41:28 -07:00
Xiang Li
e6354cdccf Fix a typo origin->original 2013-07-12 08:35:09 -07:00
Xiang Li
c135c1e299 add comment for HTTPTIMEOUT constant 2013-07-11 14:56:16 -07:00
Xiang Li
ffa4d1a3c0 add comment for HTTPTIMEOUT constant 2013-07-11 14:51:18 -07:00
Xiang Li
880cd71df5 add http timeout 2013-07-11 09:43:14 -07:00
Xiang Li
c2a80df3f9 fix redeclear err 2013-07-10 20:19:34 -07:00
Xiang Li
a26cb976c5 clean up prints and fix len problem 2013-07-10 20:14:32 -07:00
Xiang Li
45af72c941 redirect join to server port 2013-07-10 20:00:05 -07:00
Xiang Li
8af746ef6d accept machine list to join cluster 2013-07-10 19:02:58 -07:00
Xiang Li
2eda27e9f4 return error when cannot join the cluster 2013-07-10 16:25:37 -07:00
Xiang Li
ce0dc5433f em... should not use := 2013-07-09 20:52:41 -07:00
Xiang Li
f5796244b4 clean up etcd.go 2013-07-09 20:37:00 -07:00
Xiang Li
5271da3d19 gofmt 2013-07-09 17:31:24 -07:00
Xiang Li
a3173bfd31 sepearte raft handlers and client handlers to two files and clean up related codes 2013-07-09 17:29:47 -07:00
Xiang Li
fad972304c gofmt 2013-07-09 14:58:59 -07:00
Xiang Li
9efba81c09 merge 2013-07-09 14:57:36 -07:00
Xiang Li
5749b9db50 clean up transporter.go 2013-07-09 14:55:45 -07:00
Alex Polvi
e0ae3e245a remove unneeded usage 2013-07-09 14:18:09 -07:00
Alex Polvi
c52b76ac7b some defaults 2013-07-09 14:07:45 -07:00
Xiang Li
1e9307e88a clean up tree.go and watcher.go 2013-07-09 13:14:12 -07:00
Xiang Li
67a06ecca5 register new commands 2013-07-08 13:16:55 -07:00
Xiang Li
dc3844a1f8 add testAndSet Command 2013-07-08 11:00:10 -07:00
Xiang Li
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
Xiang Li
0f22918e2b make sure leader join self as a peer 2013-07-06 22:32:08 -07:00
Xiang Li
93c96b3813 add list feature 2013-07-05 16:22:45 -07:00
Xiang Li
6edce10980 close resp body, close snapshot 2013-07-03 11:22:52 -07:00
Xiang Li
ab285a90bb using go http lib to parse post body 2013-07-01 11:16:30 -07:00
Xiang Li
f6b3d8a2af during the leader election, return error to client 2013-06-30 21:17:51 -07:00
Xiang Li
e211554b91 watch accept sinceIndex 2013-06-30 16:30:41 -07:00
Xiang Li
a2b44bf9b7 use map to store the results. 2013-06-30 10:09:05 -07:00
Xiang Li
c2f436a58b fix redirect after seprate client and server pot 2013-06-28 15:37:29 -07:00
Xiang Li
430f5d50e3 add command line varible -i to ignore the existing configuration 2013-06-28 15:04:05 -07:00
Xiang Li
f67115b935 Allow different key,cert,CA for client and server communication 2013-06-28 14:46:05 -07:00
Xiang Li
e3d556c319 seprate client and server port 2013-06-28 14:17:16 -07:00
Xiang Li
337b1f73eb add -d option to give the directory to store the log and snapshot 2013-06-28 11:47:47 -07:00
Xiang Li
f16f7275b4 rname raftd.go to etcd.go 2013-06-28 11:33:10 -07:00