Xiang Li
|
8a4b2e83a5
change create->new, follow go spec
|
12 years ago |
Xiang Li
|
66f4e0aa19
clear watchers before recover from a snapshot
|
12 years ago |
Xiang Li
|
9b8c5b0527
allow pervious machine to rejoin to the cluster without pervious log
|
12 years ago |
Xiang Li
|
50613c555b
simplify machine list. do not need a separate struct to store machines, since we have already stored them into etcd store.
|
12 years ago |
Xiang Li
|
cc428c4e84
change keyword from /machines to /_etcd/machines
|
12 years ago |
Xiang Li
|
79966b6550
Accept maxsize parameter. Deny further join request if reache max size
|
12 years ago |
Xiang Li
|
69f8b8693d
add new node to /machines
|
12 years ago |
Xiang Li
|
9ae4dec45e
change init func due to the change in raft
|
12 years ago |
Xiang Li
|
58501151da
change snapshot api due to the change in go-raft
|
12 years ago |
Xiang Li
|
268ba2592a
record machine info locally via join command
|
12 years ago |
Xiang Li
|
76ef446baf
add machinesHttpHandler
|
12 years ago |
Xiang Li
|
6821747763
remove commented codes
|
12 years ago |
Xiang Li
|
4b9b5d8069
merge get and list
|
12 years ago |
Xiang Li
|
a131632d3d
error handling
|
12 years ago |
Xiang Li
|
5e06b2b9fa
clean command.go
|
12 years ago |
Xiang Li
|
1e9307e88a
clean up tree.go and watcher.go
|
12 years ago |
Xiang Li
|
dc3844a1f8
add testAndSet Command
|
12 years ago |
Xiang Li
|
e2f0420862
change imports to coreos/etcd coreos/go-raft; change API to work with new go-raft
|
12 years ago |
Xiang Li
|
93c96b3813
add list feature
|
12 years ago |
Xiang Li
|
e211554b91
watch accept sinceIndex
|
12 years ago |
Xiang Li
|
047f8ab6a8
watch sinceindex works
|
12 years ago |
Xiang Li
|
5681e1a9d0
return command index
|
12 years ago |
Xiang Li
|
c2f436a58b
fix redirect after seprate client and server pot
|
12 years ago |
Xiang Li
|
e91ea7be38
use xiangli-cmu/go-raft as the raft lib
|
12 years ago |
Xiang Li
|
c3bfe19ae9
fix a bug in set(update node need to create a new one, not get the pointer of the node)
|
12 years ago |
Xiang Li
|
ef59a03fbb
gofmt
|
12 years ago |
Xiang Li
|
58e7b456bb
redirect the join command and do not redirect other commands (let client does that)
|
12 years ago |
Xiang Li
|
74650431e9
fix a expiration bug
|
12 years ago |
Xiang Li
|
68884a7137
add web interface
|
12 years ago |
Xiang Li
|
e4eb808434
change command api to support expiration feature
|
12 years ago |