Skip to content

Commit

Permalink
move tikv configure item pd.enable-forwarding to correct place (#16067
Browse files Browse the repository at this point in the history
) (#16105)
  • Loading branch information
ti-chi-bot authored Jan 11, 2024
1 parent a76d1ca commit 18595ff
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` <span class="version-mark">New in v5.0.0</span>

+ 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.
Expand Down Expand Up @@ -564,6 +557,13 @@ Configuration items related to the I/O rate limiter.

## pd

### `enable-forwarding` <span class="version-mark">New in v5.0.0</span>

+ 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.
Expand Down

0 comments on commit 18595ff

Please sign in to comment.