Skip to content

Commit 40de680

Browse files
authored
PD: optimize the description of label-property (#18526)
1 parent f0c8521 commit 40de680

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

pd-configuration-file.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -428,16 +428,20 @@ pd-server 相关配置项。
428428
+ v1:在 v1 模式下,你可以手动修改 `store limit` 以限制单个 TiKV 调度速度。
429429
+ v2:(实验特性)在 v2 模式下,你无需关注 `store limit` 值,PD 将根据 TiKV Snapshot 执行情况动态调整 TiKV 调度速度。详情请参考 [Store Limit v2 原理](/configure-store-limit.md#store-limit-v2-原理)
430430

431-
## label-property
431+
## label-property(已废弃)
432432

433-
标签相关的配置项。
433+
标签相关的配置项,只支持 `reject-leader` 类型
434434

435-
### `key`
435+
> **注意:**
436+
>
437+
> 标签相关的配置项已从 v5.2 开始废弃,建议使用 [Placement Rules](/configure-placement-rules.md#场景二5-副本按-2-2-1-的比例放置在-3-个数据中心且第-3-个中心不产生-leader) 设置副本策略。
438+
439+
### `key`(已废弃)
436440

437441
+ 拒绝 leader 的 store 带有的 label key。
438442
+ 默认值:""
439443

440-
### `value`
444+
### `value`(已废弃)
441445

442446
+ 拒绝 leader 的 store 带有的 label value。
443447
+ 默认值:""

0 commit comments

Comments
 (0)