Xiang Li
|
798d52e695
simplify remove/join process; add tests
|
12 years ago |
Xiang Li
|
fb9f09d240
use commandname
|
12 years ago |
Xiang Li
|
49c160b50c
change getMachines
|
12 years ago |
Xiang Li
|
64e6d54758
add remove peer
|
12 years ago |
Xiang Li
|
57ef6e9f5a
add killallAndReocery test
|
12 years ago |
Brandon Philips
|
e79f6842bb
fix(command): change Version to RaftVersion
|
12 years ago |
Brandon Philips
|
53b2038d2e
feat(command): add version to join command
|
12 years ago |
Xiang Li
|
f813017f1b
fix raft api
|
12 years ago |
Xiang Li
|
cf2d6888c2
add error package
|
12 years ago |
Xiang Li
|
e0ca8f20d2
add newJoinCommand func().
|
12 years ago |
Brandon Philips
|
3e59badf1a
fix(command): be consistent will all CommandNames
|
12 years ago |
Xiang Li
|
d3471eec7f
separate_id
|
12 years ago |
Brandon Philips
|
a19048841f
feat(trasnport): add an independent node name
|
12 years ago |
Xiang Li
|
09cfd89298
better error name for watcher
|
12 years ago |
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 |