reference: update the pd-ctl docs#2871
Conversation
| ``` | ||
|
|
||
| ### config [show | set \<option> \<value>] | ||
| ### config [show | set <option> <value>] |
There was a problem hiding this comment.
do we need to add delete and placement-rules here?
| >> schedule pause all 10 // 暂停运行所有的调度器 10 秒 | ||
| >> schedule resume balance-region-scheduler // 继续运行 balance-region 调度器 | ||
| >> schedule resume all // 继续运行所有的调度器 | ||
| >> scheduler config balance-hot-region-scheduler // 显示 balance-hot-region 调度器的配置 |
There was a problem hiding this comment.
It will be better to add parameter description about src-tolerance-ratio and dst-tolerance-ratio at the least
|
@lhy1024, @ran-huang, @nolouch, PTAL. |
|
@rleungx, please update your pull request. |
|
@lhy1024, @ran-huang, @nolouch, PTAL. |
|
@rleungx, please update your pull request. |
|
@lhy1024, @ran-huang, @nolouch, PTAL. |
|
@rleungx, please update your pull request. |
|
No updates for a long time, close PR. |
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
* *: simplify all file directories * update deadlink * fix 2 dead links caused by two deleted files Co-authored-by: Qiang Zhou <zhouqiang.cl@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
|
@rleungx, please update your pull request. |
| @@ -10,8 +10,8 @@ PD Control 是 PD 的命令行工具,用于获取集群状态信息和调整 | |||
|
|
|||
| ## 源码编译 | |||
There was a problem hiding this comment.
需要增加 tiup 的使用方式 tiup ctl pd -- -u http://pd_ip:pd_port -i
使用的顺序调整一下(因为推荐使用 TiUP,源码编译一般用的比较少):TiUP、下载安装包、源码编译
| >> store limit // 显示所有 store 添加 peer 的速度上限 | ||
| >> store limit region-add // 显示所有 store 添加 peer 的速度上限 | ||
| >> store limit region-remove // 显示所有 store 删除 peer 的速度上限 | ||
| >> store limit all 5 // 设置所有 store 添加 peer 的速度上限为每分钟 5 个 |
There was a problem hiding this comment.
另外, all 和 某个 store 都有设置的生效优先级,建议说明下
|
Replaced by #3305. |
What is changed, added or deleted? (Required)
Update the pd-ctl docs.
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?