add notice about scaling in pd node#6514
Conversation
|
|
||
| > **注意:** | ||
| > | ||
| > TiKV 中的 PD Client 会缓存 PD 节点列表,但目前不会定期自动更新,只有在 PD leader 发生切换或 TiKV 重启加载最新配置后才会更新;为避免 TiKV 缓存的 PD 节点列表过旧的风险,在扩缩容 PD 完成后,PD 集群中应至少包含两个扩缩容操作前就已经存在的 PD 节点成员,如果不满足该条件需要手动执行 PD transfer leader 操作,更新 TiKV 中的 PD 缓存列表。 |
There was a problem hiding this comment.
@rleungx 为什么「在扩缩容完成后,至少包含 2 个扩缩容操作前就已经存在的 PD 节点成员」啊~我看这篇文档的示例中,PD 就只有 1 个节点。会不会造成误解?
There was a problem hiding this comment.
/cc @AstroProfundis BTW, we need to specify the version of this warning.
There was a problem hiding this comment.
What would be the version affected?
There was a problem hiding this comment.
Almost all versions before v.4.0.3 and we introduce a new mechanism to reduce the probability after v4.0.3
|
/rebase |
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
e1d5dd3 to
13e6b0f
Compare
Co-authored-by: Ryan Leung <rleungx@gmail.com>
|
@rleungx: Thanks for your review. The bot only counts approvals from reviewers and higher roles in list, but you're still welcome to leave your comments. DetailsIn response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
|
/remove-status LGT1 |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: ee0ea37 |
|
In response to a cherrypick label: new pull request created: #6678. |
|
In response to a cherrypick label: new pull request created: #6679. |
|
In response to a cherrypick label: new pull request created: #6680. |
First-time contributors' checklist
What is changed, added or deleted? (Required)
Add a notice about scaling PD nodes, this is the same as in "scale tidb cluster with Ansible" document.
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?