Brandon Philips
|
41b9051686
chore(*.go): add copyright notice
|
12 éve |
Xiang Li
|
2eb0625f15
mrege and change peerstats to followersstats
|
12 éve |
Brandon Philips
|
da01fe6027
fix(command): make Latency and Counts objects
|
12 éve |
Xiang Li
|
a8ff1b27d4
init peerStats in transportation.go; avoid nil pointer due to restart from snapshot(we do not keep stats in persistentlayer yet)
|
12 éve |
Xiang Li
|
8d245b546f
cleanup
|
12 éve |
Xiang Li
|
896c944c7e
add serverStats
|
12 éve |
Xiang Li
|
9a63723bbe
add sdv
|
12 éve |
Xiang Li
|
d8cd744f2f
fix remove node
|
12 éve |
Xiang Li
|
a97590ff50
basic stats
|
12 éve |
Xiang Li
|
798d52e695
simplify remove/join process; add tests
|
12 éve |
Xiang Li
|
fb9f09d240
use commandname
|
12 éve |
Xiang Li
|
49c160b50c
change getMachines
|
12 éve |
Xiang Li
|
64e6d54758
add remove peer
|
12 éve |
Xiang Li
|
57ef6e9f5a
add killallAndReocery test
|
12 éve |
Brandon Philips
|
e79f6842bb
fix(command): change Version to RaftVersion
|
12 éve |
Brandon Philips
|
53b2038d2e
feat(command): add version to join command
|
12 éve |
Xiang Li
|
f813017f1b
fix raft api
|
12 éve |
Xiang Li
|
cf2d6888c2
add error package
|
12 éve |
Xiang Li
|
e0ca8f20d2
add newJoinCommand func().
|
12 éve |
Brandon Philips
|
3e59badf1a
fix(command): be consistent will all CommandNames
|
12 éve |
Xiang Li
|
d3471eec7f
separate_id
|
12 éve |
Brandon Philips
|
a19048841f
feat(trasnport): add an independent node name
|
12 éve |
Xiang Li
|
09cfd89298
better error name for watcher
|
12 éve |
Xiang Li
|
8a4b2e83a5
change create->new, follow go spec
|
12 éve |
Xiang Li
|
66f4e0aa19
clear watchers before recover from a snapshot
|
12 éve |
Xiang Li
|
9b8c5b0527
allow pervious machine to rejoin to the cluster without pervious log
|
12 éve |
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 éve |
Xiang Li
|
cc428c4e84
change keyword from /machines to /_etcd/machines
|
12 éve |
Xiang Li
|
79966b6550
Accept maxsize parameter. Deny further join request if reache max size
|
12 éve |
Xiang Li
|
69f8b8693d
add new node to /machines
|
12 éve |