From 64985befdb0d1e12a2772d073e1f5f0c88e8dc26 Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Thu, 11 Jan 2024 13:21:25 +0800 Subject: [PATCH] move tikv configure item `pd.enable-forwarding` to correct place (#16067) (#16106) --- tikv-configuration-file.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tikv-configuration-file.md b/tikv-configuration-file.md index 517b91ac9a124..45e36f0a69b99 100644 --- a/tikv-configuration-file.md +++ b/tikv-configuration-file.md @@ -104,13 +104,6 @@ This document only describes the parameters that are not included in command-lin + If the configuration item is set to a value other than `0`, TiKV keeps at most the number of old log files specified by `max-backups`. For example, if the value is set to `7`, TiKV keeps up to 7 old log files. + Default value: `0` -### `pd.enable-forwarding` New in v5.0.0 - -+ Controls whether the PD client in TiKV forwards requests to the leader via the followers in the case of possible network isolation. -+ Default value: `false` -+ If the environment might have isolated network, enabling this parameter can reduce the window of service unavailability. -+ If you cannot accurately determine whether isolation, network interruption, or downtime has occurred, using this mechanism has the risk of misjudgment and causes reduced availability and performance. If network failure has never occurred, it is not recommended to enable this parameter. - ## server + Configuration items related to the server. @@ -568,6 +561,13 @@ Configuration items related to the I/O rate limiter. ## pd +### `enable-forwarding` New in v5.0.0 + ++ Controls whether the PD client in TiKV forwards requests to the leader via the followers in the case of possible network isolation. ++ Default value: `false` ++ If the environment might have isolated network, enabling this parameter can reduce the window of service unavailability. ++ If you cannot accurately determine whether isolation, network interruption, or downtime has occurred, using this mechanism has the risk of misjudgment and causes reduced availability and performance. If network failure has never occurred, it is not recommended to enable this parameter. + ### `endpoints` + The endpoints of PD. When multiple endpoints are specified, you need to separate them using commas.