Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update pd-configuration about upgrade #6884

Merged
merged 6 commits into from
Sep 14, 2021
Merged
Changes from 4 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
12 changes: 10 additions & 2 deletions pd-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,15 @@ PD 配置文件比命令行参数支持更多的选项。你可以在 [conf/conf
+ 设置是否开启跨表 merge。
+ 默认值:true

### `region-score-formula-version`
### `region-score-formula-version` <span class="version-mark">从 v5.0 版本开始引入</span>

+ 设置 Region 算分公式版本。
+ 默认值:v2
+ 可选值:v1,v2
+ 可选值:v1,v2。v2 相比于 v1,变化会更平滑,空间回收引起的调度抖动情况会得到改善。

> **注意:**
>
> 如果是从 v4.0 升级至当前版本,默认不自动开启该算分公式新版本,以保证升级前后 PD 行为一致。若想切换算分公式的版本,使用需要手动通过 `pd-ctl` 设置切换,详见 [PD Control](/pd-control.md#config-show--set-option-value--placement-rules) 文档。

### `enable-joint-consensus` <span class="version-mark">从 v5.0 版本开始引入</span>

Expand Down Expand Up @@ -306,6 +310,10 @@ PD 配置文件比命令行参数支持更多的选项。你可以在 [conf/conf
+ 默认值:3
+ PD 会对流量信息的末尾数字进行四舍五入处理,减少 Region 流量信息变化引起的统计信息更新。该配置项用于指定对 Region 流量信息的末尾进行四舍五入的位数。例如流量 `100512` 会归约到 `101000`。默认值为 `3`。该配置替换了 `trace-region-flow`。

> **注意:**
>
> 4.x 升级上来的保持和 `trace-region-flow` 设置一致,如果 `trace-region-flow` 为 false,则升级后 `flow-round-by-digit` 为 127。 否则为 3。
nolouch marked this conversation as resolved.
Show resolved Hide resolved

## label-property

标签相关的配置项。
Expand Down