Peer 操作

在指定 Store 添加 Follower

参数 id 指定要扩展的 Store_id,而 region_id 指定要扩展的 region_id。

./dingodb_client_coordinator --method=AddPeerRegion --id=33004 --region-id=77001
After execution, you can confirm the Raft status of the region by using the QueryRegion method to view the region information.
./dingodb_client_coordinator --method=QueryRegion --id=77001

删除一个 Region Peer

参数 id 指定了要从 region 中删除的 store_id,而 region_id 则指定了要缩减的 region 编号。

./dingodb_client_coordinator --method=RemovePeerRegion --id=33002 --region-id=77001