From 2585bd4d64506db95503002557a33634a67999b8 Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Tue, 10 Sep 2024 15:43:09 +0800 Subject: [PATCH] PD: optimize the description of label-property (#18526) (#18587) --- 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 e16832a7f2c2..781069449bc3 100644 --- a/pd-configuration-file.md +++ b/pd-configuration-file.md @@ -319,16 +319,20 @@ pd-server 相关配置项。 + 默认值:true + 参考 [Placement Rules 使用文档](/configure-placement-rules.md) -## label-property +## label-property(已废弃) -标签相关的配置项。 +标签相关的配置项,只支持 `reject-leader` 类型。 -### `key` +> **注意:** +> +> 标签相关的配置项已从 v5.2 开始废弃,建议使用 [Placement Rules](/configure-placement-rules.md#场景二5-副本按-2-2-1-的比例放置在-3-个数据中心且第-3-个中心不产生-leader) 设置副本策略。 + +### `key`(已废弃) + 拒绝 leader 的 store 带有的 label key。 + 默认值:"" -### `value` +### `value`(已废弃) + 拒绝 leader 的 store 带有的 label value。 + 默认值:""