Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions configure-placement-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ pd-ctl config placement-rules enable

PD 同样将根据系统的 `max-replicas` 及 `location-labels` 生成默认的规则。

> **注意:**
>
> 开启 Placement Rules 后,原先的 `max-replicas` 及 `location-labels` 配置项将不再生效。如果需要调整副本策略,应当使用 Placement Rules 相关接口。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以给一个修改 label 的示例吗?下面的接口没看到针对修改的

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改 count 和改 label 是一样的呀,都是编辑文件后保存,写两遍我感觉也太重复了。


### 关闭 Placement Rules 特性

使用 pd-ctl 可以关闭 Placement Rules 特性,切换为之前的调度策略。
Expand Down