Master Management

Add

curl -v "http://10.196.59.198:17010/raftNode/add?addr=10.196.59.197:17010&id=3"

add new master node to master raft group

Parameters
Parameter Type Description
addr string the addr of master server, format is ip:port
id uint64 the node id of master server

Remove

curl -v "http://10.196.59.198:17010/raftNode/remove?addr=10.196.59.197:17010&id=3"

remove the master node from master raft group

Parameters
Parameter Type Description
addr string the addr of master server, format is ip:port
id uint64 the node id of master server