Skip to content

Commit

Permalink
PD: optimize the description of label-property (#18849) (#18862)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Sep 10, 2024
1 parent 1648825 commit 799b415
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 @@ -431,16 +431,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: `""`
Expand Down

0 comments on commit 799b415

Please sign in to comment.