Xiang Li
|
d8cd744f2f
fix remove node
|
пре 12 година |
Xiang Li
|
a97590ff50
basic stats
|
пре 12 година |
Xiang Li
|
798d52e695
simplify remove/join process; add tests
|
пре 12 година |
Xiang Li
|
fb9f09d240
use commandname
|
пре 12 година |
Xiang Li
|
49c160b50c
change getMachines
|
пре 12 година |
Xiang Li
|
64e6d54758
add remove peer
|
пре 12 година |
Xiang Li
|
57ef6e9f5a
add killallAndReocery test
|
пре 12 година |
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 година |