Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Grace Cai <[email protected]>
  • Loading branch information
LykxSassinator and qiancai committed Aug 14, 2024
1 parent bb80b99 commit bf2eb19
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pd-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,13 +256,13 @@ pd-server 相关配置项。
### `max-merge-region-size`

+ 控制 Region Merge 的 size 上限,当 Region Size 大于指定值时 PD 不会将其与相邻的 Region 合并。
+ 默认:54(8.2.0 及之前版本默认值为 20
+ 默认:54。在 v8.3.0 之前,默认值为 20
+ 单位:MiB

### `max-merge-region-keys`

+ 控制 Region Merge 的 key 上限,当 Region key 大于指定值时 PD 不会将其与相邻的 Region 合并。
+ 默认:540000(8.2.0 及之前版本默认值为 200000
+ 默认:540000。在 v8.3.0 之前,默认值为 200000

### `patrol-region-interval`

Expand Down
6 changes: 3 additions & 3 deletions tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ Coprocessor 相关的配置项。
### `region-split-size`

+ 分裂后新 Region 的大小,此值属于估算值。
+ 默认值:256MiB
+ 默认值:`"256MiB"`。在 v8.3.0 之前,默认值为 `"96MiB"`
+ 单位:KiB|MiB|GiB

### `region-max-keys`
Expand All @@ -1092,7 +1092,7 @@ Coprocessor 相关的配置项。
### `region-split-keys`

+ 分裂后新 Region 的 key 的个数,此值属于估算值。
+ 默认值:2560000
+ 默认值:`"2560000"`。在 v8.3.0 之前,默认值为 `"960000"`

### `consistency-check-method`

Expand Down Expand Up @@ -2150,7 +2150,7 @@ Raft Engine 相关的配置项。

+ 备份 SST 文件大小的阈值。如果 TiKV Region 中备份文件的大小超过该阈值,则将该文件备份到 Region 分割的多个 Region 文件中,每个分割 Region 中的文件大小均为 `sst-max-size`(或略大)。
+ 例如,当 Region `[a,e)` 中备份文件大小超过 `sst-max-size` 时,该文件会被备份到多个 Region 范围中,分别为 Region `[a,b)``[b,c)``[c,d)``[d,e)`,并且 `[a,b)``[b,c)``[c,d)` 的大小均为 `sst-max-size`(或略大)。
+ 默认值:`"384MiB"`
+ 默认值:`"384MiB"`。在 v8.3.0 之前,默认值为 `"144MiB"`

### `enable-auto-tune` <span class="version-mark">从 v5.4 版本开始引入</span>

Expand Down

0 comments on commit bf2eb19

Please sign in to comment.