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

*: fix the default value of cdc.min-ts-interval #18677

Merged
merged 4 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion releases/release-6.5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ TiDB 6.5.0 为长期支持版本 (Long-Term Support Release, LTS)。
| TiDB | [`server-memory-quota`](/tidb-configuration-file.md#server-memory-quota-从-v409-版本开始引入) | 废弃 | 自 v6.5.0 起,该配置项被废弃。请使用 [`tidb_server_memory_limit`](/system-variables.md#tidb_server_memory_limit-从-v640-版本开始引入) 系统变量进行设置。 |
| TiDB | [`disconnect-on-expired-password`](/tidb-configuration-file.md#disconnect-on-expired-password-从-v650-版本开始引入) | 新增 | 该配置用于控制 TiDB 服务端是否直接断开密码已过期用户的连接,默认值为 `true`,表示 TiDB 服务端将直接断开密码已过期用户的连接。 |
| TiKV | `raw-min-ts-outlier-threshold` | 删除 | 从 v6.4.0 起,该配置项被废弃。从 v6.5.0 起,该配置项被删除。 |
| TiKV | [`cdc.min-ts-interval`](/tikv-configuration-file.md#min-ts-interval) | 修改 | 为了降低 CDC 延迟,该配置的默认值从 `1s` 修改为 `200ms`。 |
| TiKV | [`cdc.min-ts-interval`](/tikv-configuration-file.md#min-ts-interval) | 修改 | 为了降低 CDC 延迟,该配置的默认值从 `"1s"` 修改为 `"200ms"`。 |
| TiKV | [`memory-use-ratio`](/tikv-configuration-file.md#memory-use-ratio-从-v650-版本开始引入) | 新增 | 表示 PITR 日志恢复功能中可用内存与系统总内存的占比。 |
| TiCDC | [`sink.terminator`](/ticdc/ticdc-changefeed-config.md#ticdc-changefeed-配置文件说明) | 新增 | 换行符,用来分隔两个数据变更事件。默认值为空,表示使用 `\r\n` 作为换行符。 |
| TiCDC | [`sink.date-separator`](/ticdc/ticdc-changefeed-config.md#ticdc-changefeed-配置文件说明) | 新增 | 文件路径的日期分隔类型。可选类型有 `none`、`year`、`month`、`day`。默认值为 `none`,即不使用日期分隔。|
Expand Down
2 changes: 2 additions & 0 deletions releases/release-6.5.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ TiDB 版本:6.5.1

- TiKV 配置项 [`advance-ts-interval`](/tikv-configuration-file.md#advance-ts-interval) 默认值由 `1s` 修改为 `20s`。你可以通过调整该配置项提高 Stale Read 数据的时效性(即减少延时),详情参见[减少 Stale Read 延时](/stale-read.md#减少-stale-read-延时)。

- TiKV 配置项 [`cdc.min-ts-interval`](/tikv-configuration-file.md#min-ts-interval) 的默认值由 `"200ms"` 修改为 `"1s"`,以减少网络流量。

## 改进提升

+ TiDB
Expand Down
6 changes: 5 additions & 1 deletion tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -2233,7 +2233,11 @@ Raft Engine 相关的配置项。
### `min-ts-interval`

+ 定期推进 Resolved TS 的时间间隔。
+ 默认值:200ms
+ 默认值:`"1s"`

> **注意:**
>
> 在 v6.5.0 中,`min-ts-interval` 的默认值从 `"1s"` 更改为 `"200ms"`,以减少 CDC 的延迟。从 v6.5.1 开始,该默认值更改回 `"1s"`,以减少网络流量。

### `old-value-cache-memory-quota`

Expand Down
Loading