Brandon Philips
|
e79f6842bb
fix(command): change Version to RaftVersion
|
пре 12 година |
Brandon Philips
|
53b2038d2e
feat(command): add version to join command
|
пре 12 година |
Xiang Li
|
f813017f1b
fix raft api
|
пре 12 година |
Xiang Li
|
cf2d6888c2
add error package
|
пре 12 година |
Xiang Li
|
e0ca8f20d2
add newJoinCommand func().
|
пре 12 година |
Brandon Philips
|
3e59badf1a
fix(command): be consistent will all CommandNames
|
пре 12 година |
Xiang Li
|
d3471eec7f
separate_id
|
пре 12 година |
Brandon Philips
|
a19048841f
feat(trasnport): add an independent node name
|
пре 12 година |
Xiang Li
|
09cfd89298
better error name for watcher
|
пре 12 година |
Xiang Li
|
8a4b2e83a5
change create->new, follow go spec
|
пре 12 година |
Xiang Li
|
66f4e0aa19
clear watchers before recover from a snapshot
|
пре 12 година |
Xiang Li
|
9b8c5b0527
allow pervious machine to rejoin to the cluster without pervious log
|
пре 12 година |
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 година |
Xiang Li
|
cc428c4e84
change keyword from /machines to /_etcd/machines
|
пре 12 година |
Xiang Li
|
79966b6550
Accept maxsize parameter. Deny further join request if reache max size
|
пре 12 година |
Xiang Li
|
69f8b8693d
add new node to /machines
|
пре 12 година |
Xiang Li
|
9ae4dec45e
change init func due to the change in raft
|
пре 12 година |
Xiang Li
|
58501151da
change snapshot api due to the change in go-raft
|
пре 12 година |
Xiang Li
|
268ba2592a
record machine info locally via join command
|
пре 12 година |
Xiang Li
|
76ef446baf
add machinesHttpHandler
|
пре 12 година |
Xiang Li
|
6821747763
remove commented codes
|
пре 12 година |
Xiang Li
|
4b9b5d8069
merge get and list
|
пре 12 година |
Xiang Li
|
a131632d3d
error handling
|
пре 12 година |
Xiang Li
|
5e06b2b9fa
clean command.go
|
пре 12 година |
Xiang Li
|
1e9307e88a
clean up tree.go and watcher.go
|
пре 12 година |
Xiang Li
|
dc3844a1f8
add testAndSet Command
|
пре 12 година |
Xiang Li
|
e2f0420862
change imports to coreos/etcd coreos/go-raft; change API to work with new go-raft
|
пре 12 година |
Xiang Li
|
93c96b3813
add list feature
|
пре 12 година |
Xiang Li
|
e211554b91
watch accept sinceIndex
|
пре 12 година |
Xiang Li
|
047f8ab6a8
watch sinceindex works
|
пре 12 година |