From 003e6c8382b9e7eff75b525202bb17443a2b0e71 Mon Sep 17 00:00:00 2001 From: Liuxiaozhen12 <82579298+Liuxiaozhen12@users.noreply.github.com> Date: Mon, 23 Aug 2021 17:58:04 +0800 Subject: [PATCH] add notice about scaling in pd node (#6099) --- scale-tidb-using-tiup.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scale-tidb-using-tiup.md b/scale-tidb-using-tiup.md index 8fcf1639b0e2c..e0cb8378b1244 100644 --- a/scale-tidb-using-tiup.md +++ b/scale-tidb-using-tiup.md @@ -247,6 +247,10 @@ If you want to remove a TiKV node from the `10.0.1.5` host, take the following s > > You can take similar steps to remove the TiDB and PD node. +> **Note:** +> +> The PD Client in TiKV caches the list of PD nodes. The current version of TiKV has a mechanism to automatically and regularly update PD nodes, which can help mitigate the issue of an expired list of PD nodes cached by TiKV. However, after scaling out PD, you should try to avoid directly removing all PD nodes at once that exist before the scaling. If necessary, before making all the previously existing PD nodes offline, make sure to switch the PD leader to a newly added PD node. + 1. View the node ID information: {{< copyable "shell-regular" >}}