Skip to content
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

add notice about scaling in pd node #6514

Merged
merged 6 commits into from
Jul 15, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add version notes
  • Loading branch information
AstroProfundis authored and TomShawn committed Jul 15, 2021
commit aa32892d44a8d8787aa0991aaec357d7b5459cb9
2 changes: 1 addition & 1 deletion scale-tidb-using-tiup.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ tiup cluster display <cluster-name>

> **注意:**
>
> TiKV 中的 PD Client 会缓存 PD 节点列表,但目前不会定期自动更新,只有在 PD leader 发生切换或 TiKV 重启加载最新配置后才会更新;为避免 TiKV 缓存的 PD 节点列表过旧的风险,在扩缩容 PD 完成后,PD 集群中应至少包含两个扩缩容操作前就已经存在的 PD 节点成员,如果不满足该条件需要手动执行 PD transfer leader 操作,更新 TiKV 中的 PD 缓存列表。
> TiKV 中的 PD Client 会缓存 PD 节点列表,但在 4.0.3 版本之前不会定期自动更新,只有在 PD leader 发生切换或 TiKV 重启加载最新配置后才会更新;为避免 TiKV 缓存的 PD 节点列表过旧的风险,在扩缩容 PD 完成后,PD 集群中应至少包含一个扩缩容操作前就已经存在的 PD 节点成员,如果不满足该条件需要手动执行 PD transfer leader 操作以更新 TiKV 中的 PD 缓存列表。对于 4.0.3 及以后的版本,增加了定时自动更新 PD 节点的机制,可以降低此问题出现的概率,但仍应尽量避免在扩容新 PD 后直接一次性缩容所有扩容前就已经存在的 PD 节点
AstroProfundis marked this conversation as resolved.
Show resolved Hide resolved

### 1. 查看节点 ID 信息

Expand Down