polvi
7ab3ccdf44
Merge pull request #12 from xiangli-cmu/master
...
accept machine list to join cluster
2013-07-10 20:03:01 -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
78cb13cf19
Merge pull request #11 from xiangli-cmu/master
...
return error when cannot join the cluster
2013-07-10 17:49:57 -07:00
Xiang Li
931afb9394
report network problem
2013-07-10 17:49:32 -07:00
Xiang Li
2eda27e9f4
return error when cannot join the cluster
2013-07-10 16:25:37 -07:00
Brandon Philips
01e5d41f91
fix(build): export GOPATH
...
Major mistake. GOPATH must be exported for go get/go build to work.
2013-07-10 16:01:09 -07:00
Xiang Li
59ac6e85a9
Merge pull request #10 from philips/add-build-script
...
feat(build): add initial build script
2013-07-10 15:57:16 -07:00
Brandon Philips
1eb0be10fe
feat(build): add initial build script
...
add a simple build script that sets up a gopath and uses the current git
directory for the github.com/coreos/etcd packages.
There aren't a lot of great alternatives to doing it this way unless we
want to check in all of the dependencies into the repo (which is
actually a good practice probably).
2013-07-10 15:45:15 -07:00
polvi
5fcf3cbb6e
Merge pull request #9 from xiangli-cmu/master
...
separate raft handlers and client handlers
2013-07-10 14:06:27 -07:00
Xiang Li
7c1c56deb3
add copy from doozerd
2013-07-10 13:39:47 -07:00
Xiang Li
494b35596b
use doozer's file2gostring to provide html temp as go string
2013-07-10 09:47:30 -07:00
Xiang Li
9146fbf120
clean web
2013-07-09 22:08:32 -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
3085b06ab5
Merge pull request #8 from xiangli-cmu/master
...
clean up transporter.go
2013-07-09 17:26:19 -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
Xiang Li
64ddbe5e40
Merge pull request #7 from polvi/master
...
Add some defaults.
2013-07-09 14:34:08 -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
polvi
fb4c9ec05e
Merge pull request #6 from xiangli-cmu/master
...
clean command.go
2013-07-09 14:06:23 -07:00
Xiang Li
5e06b2b9fa
clean command.go
2013-07-09 14:02:59 -07:00
Xiang Li
ab847c248b
Merge pull request #5 from xiangli-cmu/master
...
clean up tree.go and watcher.go
2013-07-09 13:44:30 -07:00
Xiang Li
1e9307e88a
clean up tree.go and watcher.go
2013-07-09 13:14:12 -07:00
Xiang Li
0d10a1eacf
Merge pull request #4 from xiangli-cmu/master
...
add [etcd] as the prefix of the logging info
2013-07-09 09:33:19 -07:00
Xiang Li
2589a76d66
add [etcd] as the prefix of the logging info
2013-07-09 09:26:38 -07:00
Xiang Li
c114ed435a
Merge pull request #3 from xiangli-cmu/master
...
clean up tree.go
2013-07-09 09:10:39 -07:00
Xiang Li
55146c3ece
clean tree struct code
2013-07-08 21:20:50 -07:00
Xiang Li
b43fba6a23
Merge pull request #2 from xiangli-cmu/master
...
Add testAndSet Command
2013-07-08 15:48:03 -07:00
Xiang Li
67a06ecca5
register new commands
2013-07-08 13:16:55 -07:00
Xiang Li
e37979d3ba
Merge https://github.com/coreos/etcd
2013-07-08 11:04:17 -07:00
Xiang Li
dc3844a1f8
add testAndSet Command
2013-07-08 11:00:10 -07:00
polvi
cd2355ec2b
Merge pull request #1 from xiangli-cmu/master
...
Change imports to coreos/etcd coreos/go-raft
2013-07-08 10:07:37 -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
631d24791d
back to 307
2013-07-06 15:54:21 -07:00
Xiang Li
8244113a3e
change 302 back to 307.
2013-07-06 10:21:39 -07:00
Xiang Li
f878399992
change redirect code for 307 to 302 to make go http client to redirect post
2013-07-05 17:36:41 -07:00
Xiang Li
93c96b3813
add list feature
2013-07-05 16:22:45 -07:00
Xiang Li
5ee976da76
Merge https://github.com/xiangli-cmu/etcd
2013-07-04 14:07:31 -07:00
Xiang Li
cc2c0ee389
Merge pull request #3 from xiangli-cmu/treeStruct
...
Tree struct
2013-07-04 13:52:09 -07:00
Xiang Li
b02a7d8bb4
traverse also record the key and add sorted traverse
2013-07-04 13:50:37 -07:00
Xiang Li
547ad6ee3b
add func arg to traverse func
2013-07-03 15:35:25 -07:00
Xiang Li
4768b82b11
add traverse func and fix testing
2013-07-03 15:00:50 -07:00
Xiang Li
6e3379c3ef
treeStruct first commit
2013-07-03 12:57:23 -07:00
Xiang Li
6edce10980
close resp body, close snapshot
2013-07-03 11:22:52 -07:00