-
Notifications
You must be signed in to change notification settings - Fork 1.2k
reference: update the pd-ctl docs #2871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
reference/tools/pd-control.md
Outdated
| ``` | ||
|
|
||
| ### config [show | set \<option> \<value>] | ||
| ### config [show | set <option> <value>] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
|
|
||
| PD Control 是 PD 的命令行工具,用于获取集群状态信息和调整集群。 | ||
|
|
||
| ## 源码编译 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
需要增加 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
默认是 region-add,建议说明下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
另外, 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)?