Skip to content

Commit

Permalink
PD: optimize the description of label-property (#18526) (#18588)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Sep 10, 2024
1 parent bb2d1ec commit 28f0fd1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pd-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,16 +338,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。
+ 默认值:""
Expand Down

0 comments on commit 28f0fd1

Please sign in to comment.