From 60b4e0274e41f4d884a1f23ae7f6cb35bc224d20 Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Fri, 20 Sep 2024 15:05:52 +0800 Subject: [PATCH] *: fix the default value of cdc.min-ts-interval (#18966) (#18972) --- releases/release-6.5.0.md | 2 +- releases/release-6.5.1.md | 2 ++ tikv-configuration-file.md | 6 +++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/releases/release-6.5.0.md b/releases/release-6.5.0.md index ac8a160c35997..57752412773aa 100644 --- a/releases/release-6.5.0.md +++ b/releases/release-6.5.0.md @@ -351,7 +351,7 @@ Compared with TiDB [6.4.0-DMR](/releases/release-6.4.0.md), TiDB 6.5.0 introduce | TiDB | [`server-memory-quota`](/tidb-configuration-file.md#server-memory-quota-new-in-v409) | Deprecated | Starting from v6.5.0, this configuration item is deprecated. Instead, use the system variable [`tidb_server_memory_limit`](/system-variables.md#tidb_server_memory_limit-new-in-v640) to manage memory globally. | | TiDB | [`disconnect-on-expired-password`](/tidb-configuration-file.md#disconnect-on-expired-password-new-in-v650) | Newly added | Determines whether TiDB disconnects the client connection when the password is expired. The default value is `true`, which means the client connection is disconnected when the password is expired. | | TiKV | `raw-min-ts-outlier-threshold` | Deleted | This configuration item was deprecated in v6.4.0 and deleted in v6.5.0. | -| TiKV | [`cdc.min-ts-interval`](/tikv-configuration-file.md#min-ts-interval) | Modified | To reduce CDC latency, the default value is changed from `1s` to `200ms`. | +| TiKV | [`cdc.min-ts-interval`](/tikv-configuration-file.md#min-ts-interval) | Modified | To reduce CDC latency, the default value is changed from `"1s"` to `"200ms"`. | | TiKV | [`memory-use-ratio`](/tikv-configuration-file.md#memory-use-ratio-new-in-v650) | Newly added | Indicates the ratio of available memory to total system memory in PITR log recovery. | | TiCDC | [`sink.terminator`](/ticdc/ticdc-changefeed-config.md#changefeed-configuration-parameters) | Newly added | Indicates the row terminator, which is used for separating two data change events. The value is empty by default, which means `\r\n` is used. | | TiCDC | [`sink.date-separator`](/ticdc/ticdc-changefeed-config.md#changefeed-configuration-parameters) | Newly added | Indicates the date separator type of the file directory. Value options are `none`, `year`, `month`, and `day`. `none` is the default value and means that the date is not separated. | diff --git a/releases/release-6.5.1.md b/releases/release-6.5.1.md index b463a79b3d95c..44d96b6901fe0 100644 --- a/releases/release-6.5.1.md +++ b/releases/release-6.5.1.md @@ -25,6 +25,8 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.5/quick-start-with- - The default value of the TiKV [`advance-ts-interval`](/tikv-configuration-file.md#advance-ts-interval) configuration item is changed from `1s` to `20s`. You can modify this configuration item to reduce the latency and improve the timeliness of the Stale Read data. See [Reduce Stale Read latency](/stale-read.md#reduce-stale-read-latency) for details. +- The default value of the TiKV [`cdc.min-ts-interval`](/tikv-configuration-file.md#min-ts-interval) configuration item is changed from `"200ms"` to `"1s"` to reduce network traffic. + ## Improvements + TiDB diff --git a/tikv-configuration-file.md b/tikv-configuration-file.md index 5119afa80b7f0..f7efce841d7af 100644 --- a/tikv-configuration-file.md +++ b/tikv-configuration-file.md @@ -2229,7 +2229,11 @@ Configuration items related to TiCDC. ### `min-ts-interval` + The interval at which Resolved TS is calculated and forwarded. -+ Default value: `"200ms"` ++ Default value: `"1s"`. + +> **Note:** +> +> In v6.5.0, the default value of `min-ts-interval` is changed from `"1s"` to `"200ms"` to reduce CDC latency. Starting from v6.5.1, this default value is changed back to `"1s"` to reduce network traffic. ### `old-value-cache-memory-quota`