Skip to content

Conversation

@rleungx
Copy link
Member

@rleungx rleungx commented Apr 23, 2020

What is changed, added or deleted? (Required)

Update the pd-ctl docs.

Which TiDB version(s) do your changes apply to? (Required)

  • master (the latest development version)
  • v4.0 (TiDB 4.0 versions)
  • v3.1 (TiDB 3.1 versions)
  • v3.0 (TiDB 3.0 versions)
  • v2.1 (TiDB 2.1 versions)

What is the related PR or file link(s)?

  • This PR is translated from:
  • Other reference link(s):

@rleungx rleungx requested review from lhy1024 and nolouch April 23, 2020 08:59
```

### config [show | set \<option> \<value>]
### config [show | set <option> <value>]
Copy link
Contributor

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 调度器的配置
Copy link
Contributor

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

@TomShawn TomShawn added needs-cherry-pick-4.0 translation/doing This PR’s assignee is translating this PR. labels Apr 24, 2020
@ran-huang ran-huang added status/PTAL This PR is ready for reviewing. status/require-change Needs the author to address comments. labels May 12, 2020
@ran-huang ran-huang self-requested a review May 13, 2020 05:38
@ran-huang ran-huang added status/WIP This PR is still working in progress. and removed status/PTAL This PR is ready for reviewing. labels May 13, 2020
@sre-bot
Copy link
Contributor

sre-bot commented May 15, 2020

@lhy1024, @ran-huang, @nolouch, PTAL.

@sre-bot
Copy link
Contributor

sre-bot commented May 16, 2020

@rleungx, please update your pull request.

@sre-bot
Copy link
Contributor

sre-bot commented May 17, 2020

@lhy1024, @ran-huang, @nolouch, PTAL.

@sre-bot
Copy link
Contributor

sre-bot commented May 18, 2020

@rleungx, please update your pull request.

@sre-bot
Copy link
Contributor

sre-bot commented May 20, 2020

@lhy1024, @ran-huang, @nolouch, PTAL.

@sre-bot
Copy link
Contributor

sre-bot commented May 21, 2020

@rleungx, please update your pull request.

@sre-bot
Copy link
Contributor

sre-bot commented May 21, 2020

No updates for a long time, close PR.

@ran-huang ran-huang removed the status/WIP This PR is still working in progress. label May 21, 2020
rleungx and others added 5 commits May 22, 2020 13:44
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>
@nolouch nolouch added the special-week PR from Document Special Week. label May 22, 2020
@sre-bot
Copy link
Contributor

sre-bot commented May 24, 2020

@rleungx, please update your pull request.


PD Control 是 PD 的命令行工具,用于获取集群状态信息和调整集群。

## 源码编译
Copy link
Contributor

@kissmydb kissmydb May 24, 2020

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 个
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

默认是 region-add,建议说明下

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

另外, all 和 某个 store 都有设置的生效优先级,建议说明下

@rleungx
Copy link
Member Author

rleungx commented May 25, 2020

Replaced by #3305.

@rleungx rleungx closed this May 25, 2020
@yikeke yikeke deleted the update-pdctl branch May 28, 2020 05:23
@yikeke yikeke removed needs-cherry-pick-4.0 status/require-change Needs the author to address comments. translation/doing This PR’s assignee is translating this PR. labels Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

special-week PR from Document Special Week.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants