Skip to content

Commit

Permalink
Merge pull request #880 from liukun4515/fix-operator
Browse files Browse the repository at this point in the history
pd ctl: change the `remove` to `add`
  • Loading branch information
lilin90 authored Sep 13, 2018
2 parents 5bf4aa5 + d86752c commit 9ec0faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pd-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ Success!
>> operator show leader // 显示所有的 leader operators
>> operator show region // 显示所有的 region operators
>> operator add add-peer 1 2 // 在 store 2 上新增 region 1 的一个副本
>> operator remove remove-peer 1 2 // 移除 store 2 上的 region 1 的一个副本
>> operator add remove-peer 1 2 // 移除 store 2 上的 region 1 的一个副本
>> operator add transfer-leader 1 2 // 把 region 1 的 leader 调度到 store 2
>> operator add transfer-region 1 2 3 4 // 把 region 1 调度到 store 2,3,4
>> operator add transfer-peer 1 2 3 // 把 region 1 在 store 2 上的副本调度到 store 3
Expand Down

0 comments on commit 9ec0faa

Please sign in to comment.