From 7025a8605f3d1a97aa450db61e95f9dc4761d545 Mon Sep 17 00:00:00 2001 From: JaySon-Huang Date: Wed, 10 Jan 2024 13:35:36 +0800 Subject: [PATCH 1/2] move pd.enable-forwarding to correct place Signed-off-by: JaySon-Huang --- 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 0b88037815056..ec301568323f0 100644 --- a/tikv-configuration-file.md +++ b/tikv-configuration-file.md @@ -105,13 +105,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. @@ -591,6 +584,13 @@ Configuration items related to the I/O rate limiter. + To disable the retry, set its value to `0`. To release the limit on the number of retries, set the value to `-1`. + Default value: `-1` +### `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. + ## raftstore Configuration items related to Raftstore. From e57eb72f6cc099d0d4a0161fbd9fb00463f8b410 Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Thu, 11 Jan 2024 11:31:51 +0800 Subject: [PATCH 2/2] Update tikv-configuration-file.md --- 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 ec301568323f0..7877ded6286a7 100644 --- a/tikv-configuration-file.md +++ b/tikv-configuration-file.md @@ -562,6 +562,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. @@ -584,13 +591,6 @@ Configuration items related to the I/O rate limiter. + To disable the retry, set its value to `0`. To release the limit on the number of retries, set the value to `-1`. + Default value: `-1` -### `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. - ## raftstore Configuration items related to Raftstore.