From ef2b247dbcd146607eef148dcf90fd790ba32a31 Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Tue, 10 Sep 2024 15:48:06 +0800 Subject: [PATCH] PD: optimize the description of label-property (#18849) (#18869) --- pd-configuration-file.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pd-configuration-file.md b/pd-configuration-file.md index 4a58fa19a12aa..8e9c2c7689ebe 100644 --- a/pd-configuration-file.md +++ b/pd-configuration-file.md @@ -344,16 +344,20 @@ Configuration items related to replicas + Default value: `true` + See [Placement Rules](/configure-placement-rules.md). -## `label-property` +## `label-property` (deprecated) -Configuration items related to labels +Configuration items related to labels, which only support the `reject-leader` type. -### `key` +> **Note:** +> +> Starting from v5.2, the configuration items related to labels are deprecated. It is recommended to use [Placement Rules](/configure-placement-rules.md#scenario-2-place-five-replicas-in-three-data-centers-in-the-proportion-of-221-and-the-leader-should-not-be-in-the-third-data-center) to configure the replica policy. + +### `key` (deprecated) + The label key for the store that rejected the Leader + Default value: `""` -### `value` +### `value` (deprecated) + The label value for the store that rejected the Leader + Default value: `""`