Skip to content

Commit 84ae7a2

Browse files
authored
remove some useless configurations (#5558) (#5927)
1 parent 0ce8a27 commit 84ae7a2

File tree

2 files changed

+1
-60
lines changed

2 files changed

+1
-60
lines changed

pd-configuration-file.md

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,6 @@ This document only describes parameters that are not included in command-line pa
7676
+ Default value: `3`
7777
+ Unit: second
7878
79-
### `tso-save-interval`
80-
81-
+ The interval for PD to allocate TSOs for persistent storage in etcd
82-
+ Default value: `3`
83-
+ Unit: second
84-
85-
### `enable-prevote`
86-
87-
+ Enables or disables `raft prevote`
88-
+ Default value: `true`
89-
9079
### `quota-backend-bytes`
9180
9281
+ The storage size of the meta-information database, which is 8GiB by default
@@ -108,21 +97,6 @@ This document only describes parameters that are not included in command-line pa
10897
+ Determines whether to force PD to start as a new cluster and modify the number of Raft members to `1`
10998
+ Default value: `false`
11099
111-
### `tick-interval`
112-
113-
+ The tick period of etcd Raft
114-
+ Default value: `100ms`
115-
116-
### `election-interval`
117-
118-
+ The timeout for the etcd leader election
119-
+ Default value: `3s`
120-
121-
### `use-region-storage`
122-
123-
+ Enables or disables independent Region storage
124-
+ Default value: `false`
125-
126100
## security
127101
128102
Configuration items related to security
@@ -294,39 +268,6 @@ Configuration items related to scheduling
294268
+ Default value: `v2`
295269
+ Optional values: `v1` and `v2`
296270
297-
### `disable-remove-down-replica`
298-
299-
+ Determines whether to disable the feature that automatically removes `DownReplica`. When this parameter is set to `true`, PD does not automatically clean up the copy in the down state.
300-
+ Default value: `false`
301-
302-
### `disable-replace-offline-replica`
303-
304-
+ Determines whether to disable the feature that migrates `OfflineReplica`. When this parameter is set to `true`, PD does not migrate the replicas in the offline state.
305-
+ Default value: `false`
306-
307-
### `disable-make-up-replica`
308-
309-
+ Determines whether to disable the feature that automatically supplements replicas. When this parameter is set to `true`, PD does not supplement replicas for the Region with insufficient replicas.
310-
+ Default value: `false`
311-
312-
### `disable-remove-extra-replica`
313-
314-
+ Determines whether to disable the feature that removes extra replicas. When this parameter is set to `true`, PD does not remove the extra replicas from the Region with excessive replicas.
315-
+ Default value: `false`
316-
317-
### `disable-location-replacement`
318-
319-
+ Determines whether to disable isolation level check. When this parameter is set to `true`, PD does not increase the isolation level of the Region replicas through scheduling.
320-
+ Default value: `false`
321-
322-
### `store-balance-rate`
323-
324-
+ Determines the maximum number of operations related to adding peers within a minute
325-
+ Type: Integer
326-
+ Default value: `15`
327-
+ Minimum value: `0`
328-
+ Maximum value: `200`
329-
330271
### `enable-joint-consensus` <span class="version-mark">New in v5.0</span>
331272
332273
+ Controls whether to use Joint Consensus for replica scheduling. If this configuration is disabled, PD schedules one replica at a time.

tiflash/tiflash-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ You can adjust the PD scheduling parameters using [pd-ctl](/pd-control.md). Note
1717
>
1818
> The value of this parameter should be less than that of `region-schedule-limit`. Otherwise, the normal Region scheduling among TiKV nodes is affected.
1919
20-
- [`store-balance-rate`](/pd-configuration-file.md#store-balance-rate): limits the rate at which Regions of each TiKV/TiFlash store are scheduled. Note that this parameter takes effect only when the stores have newly joined the cluster. If you want to change the setting for existing stores, use the following command.
20+
- `store-balance-rate`: limits the rate at which Regions of each TiKV/TiFlash store are scheduled. Note that this parameter takes effect only when the stores have newly joined the cluster. If you want to change the setting for existing stores, use the following command.
2121

2222
> **Note:**
2323
>

0 commit comments

Comments
 (0)