Skip to content

Commit

Permalink
Fix version release tag.
Browse files Browse the repository at this point in the history
Signed-off-by: lucasliang <[email protected]>
  • Loading branch information
LykxSassinator committed Sep 18, 2024
1 parent bf2eb19 commit 24e4472
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion best-practices/massive-regions-best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Region 默认的大小约为 256 MiB,将其调大也可以减少 Region 个数

> **注意:**
>
> 从 TiDB v8.3.0 开始,Region 的默认大小从 96 MiB 调整为 256 MiB。
> 从 TiDB v8.4.0 开始,Region 的默认大小从 96 MiB 调整为 256 MiB。
> **警告:**
>
Expand Down
4 changes: 2 additions & 2 deletions best-practices/pd-scheduling-best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ Region merge 指的是为了避免删除数据后大量小甚至空的 Region

具体来说,当某个新分裂出来的 Region 存在的时间超过配置项 [`split-merge-interval`](/pd-configuration-file.md#split-merge-interval) 的值(默认 1h)后,如果同时满足以下情况,该 Region 会触发 Region merge 调度:

- 该 Region 大小小于配置项 [`max-merge-region-size`](/pd-configuration-file.md#max-merge-region-size) 的值(从 v8.3.0 开始,默认值从 20 MiB 调整为 54 MiB。该变更仅对新集群生效,老集群不生效)
- 该 Region 中 key 的数量小于配置项 [`max-merge-region-keys`](/pd-configuration-file.md#max-merge-region-keys) 的值(从 v8.3.0 开始,默认值从 200000 调整为 540000。该变更仅对新集群生效,老集群不生效)
- 该 Region 大小小于配置项 [`max-merge-region-size`](/pd-configuration-file.md#max-merge-region-size) 的值(从 v8.4.0 开始,默认值从 20 MiB 调整为 54 MiB。该变更仅对新集群生效,老集群不生效)
- 该 Region 中 key 的数量小于配置项 [`max-merge-region-keys`](/pd-configuration-file.md#max-merge-region-keys) 的值(从 v8.4.0 开始,默认值从 200000 调整为 540000。该变更仅对新集群生效,老集群不生效)

## 查询调度状态

Expand Down
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。在 v8.3.0 之前,默认值为 20。
+ 默认:54。在 v8.4.0 之前,默认值为 20。
+ 单位:MiB

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

+ 控制 Region Merge 的 key 上限,当 Region key 大于指定值时 PD 不会将其与相邻的 Region 合并。
+ 默认:540000。在 v8.3.0 之前,默认值为 200000。
+ 默认:540000。在 v8.4.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"`。在 v8.3.0 之前,默认值为 `"96MiB"`
+ 默认值:`"256MiB"`。在 v8.4.0 之前,默认值为 `"96MiB"`
+ 单位:KiB|MiB|GiB

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

+ 分裂后新 Region 的 key 的个数,此值属于估算值。
+ 默认值:`"2560000"`。在 v8.3.0 之前,默认值为 `"960000"`
+ 默认值:`"2560000"`。在 v8.4.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"`。在 v8.3.0 之前,默认值为 `"144MiB"`
+ 默认值:`"384MiB"`。在 v8.4.0 之前,默认值为 `"144MiB"`

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

Expand Down

0 comments on commit 24e4472

Please sign in to comment.