From be87d8e56fd4816d8d9bb33abce6aa6c668dde34 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Thu, 18 Jun 2020 15:33:06 +0800 Subject: [PATCH 1/3] Update pd-configuration-file.md --- pd-configuration-file.md | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/pd-configuration-file.md b/pd-configuration-file.md index cb17ae98e3cd5..2563dc27aee17 100644 --- a/pd-configuration-file.md +++ b/pd-configuration-file.md @@ -182,12 +182,12 @@ Configuration items related to scheduling ### `region-schedule-limit` + The number of Region scheduling tasks performed at the same time -+ Default value: `4` ++ Default value: `2048` ### `replica-schedule-limit` + The number of Replica scheduling tasks performed at the same time -+ Default value: `8` ++ Default value: `64` ### `merge-schedule-limit` @@ -197,7 +197,7 @@ Configuration items related to scheduling ### `high-space-ratio` + The threshold ratio below which the capacity of the store is sufficient -+ Default value: `0.6` ++ Default value: `0.7` + Minimum value: greater than `0` + Maximum value: less than `1` @@ -211,7 +211,7 @@ Configuration items related to scheduling ### `tolerant-size-ratio` + Controls the `balance` buffer size -+ Default value: `5` ++ Default value: `0` (automatically adjusted buffer size) + Minimum value: `0` ### `disable-remove-down-replica` @@ -256,7 +256,20 @@ Configuration items related to replicas ### `location-labels` + The topology information of a TiKV cluster -+ Default value: `[]` ++ Default value: [] ++ [Cluster topology configuration](/location-awareness.md) + +### `strictly-match-label` + ++ Enables the strict check for whether the TiKV label matches PD's location-label. ++ Default value: `false` + +### `enable-placement-rules` + ++ Enables `placement-rules`. ++ Default value: `false` ++ See [Placement Rules](/configure-placement-rules.md). ++ An experimental feature of v4.0. ## `label-property` From 11c356f9dd38acd35c0cb57f157f97cd1fd209f0 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Wed, 24 Jun 2020 16:13:36 +0800 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: Caitin <34535727+CaitinChen@users.noreply.github.com> --- pd-configuration-file.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pd-configuration-file.md b/pd-configuration-file.md index 2563dc27aee17..def7179959661 100644 --- a/pd-configuration-file.md +++ b/pd-configuration-file.md @@ -211,7 +211,7 @@ Configuration items related to scheduling ### `tolerant-size-ratio` + Controls the `balance` buffer size -+ Default value: `0` (automatically adjusted buffer size) ++ Default value: `0` (automatically adjusts the buffer size) + Minimum value: `0` ### `disable-remove-down-replica` @@ -261,7 +261,7 @@ Configuration items related to replicas ### `strictly-match-label` -+ Enables the strict check for whether the TiKV label matches PD's location-label. ++ Enables the strict check for whether the TiKV label matches PD's `location-labels`. + Default value: `false` ### `enable-placement-rules` @@ -269,7 +269,7 @@ Configuration items related to replicas + Enables `placement-rules`. + Default value: `false` + See [Placement Rules](/configure-placement-rules.md). -+ An experimental feature of v4.0. ++ An experimental feature of TiDB 4.0. ## `label-property` From 4552141772e9f0e3e288441f037d44d1f795aff6 Mon Sep 17 00:00:00 2001 From: Lilian Lee Date: Thu, 2 Jul 2020 14:56:02 +0800 Subject: [PATCH 3/3] Update pd-configuration-file.md --- pd-configuration-file.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pd-configuration-file.md b/pd-configuration-file.md index def7179959661..cf2d12bcc1ddb 100644 --- a/pd-configuration-file.md +++ b/pd-configuration-file.md @@ -256,7 +256,7 @@ Configuration items related to replicas ### `location-labels` + The topology information of a TiKV cluster -+ Default value: [] ++ Default value: `[]` + [Cluster topology configuration](/location-awareness.md) ### `strictly-match-label`