From 8df7266f0ca47fcfceb41b31ff5a517d95d2f577 Mon Sep 17 00:00:00 2001 From: qiancai Date: Wed, 22 Feb 2023 16:02:19 +0800 Subject: [PATCH 01/11] Create release-6.1.5.md --- releases/release-6.1.5.md | 54 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 releases/release-6.1.5.md diff --git a/releases/release-6.1.5.md b/releases/release-6.1.5.md new file mode 100644 index 000000000000..be45d5bf555e --- /dev/null +++ b/releases/release-6.1.5.md @@ -0,0 +1,54 @@ +--- +title: TiDB 6.1.4 Release Notes +summary: 了解 TiDB 6.1.4 版本的新功能、兼容性变更、改进提升,以及错误修复。 +--- + +# TiDB 6.1.5 Release Notes + +发版日期:2023 年 2 月 28 日 + +TiDB 版本:6.1.5 + +试用链接:[快速体验](https://docs.pingcap.com/zh/tidb/v6.1/quick-start-with-tidb) | [生产部署](https://docs.pingcap.com/zh/tidb/v6.1/production-deployment-using-tiup) | [下载离线包](https://cn.pingcap.com/product-community/?version=v6.1.5#version-list) + +## 兼容性变更 + +- 自 2023 年 2 月 20 日起,新发布的 TiDB 和 TiDB Dashboard 版本(包含 6.1.5),默认关闭[遥测功能](/telemetry.md),即默认不再收集使用情况信息分享给 PingCAP。如果升级至这些版本前使用默认的遥测配置,则升级后遥测功能处于关闭状态。具体的版本可参考 [TiDB 版本发布时间线](/releases/release-timeline.md)。 + + - 系统变量[`tidb_enable_telemetry`](/system-variables.md#tidb_enable_telemetry-从-v402-版本开始引入) 默认值由 `ON` 修改为 `OFF`。 + - TiDB 配置项 [`enable-telemetry`](/tidb-configuration-file.md#enable-telemetry-从-v402-版本开始引入) 默认值由 `true` 改为 `false` + - PD 配置项 [`enable-telemetry`](/pd-configuration-file.md#enable-telemetry) 默认值由 `true` 改为 `false`。 + +- 从 v1.11.3 起,新部署的 TiUP 默认关闭遥测功能,即默认不再收集使用情况信息。如果从 v1.11.3 之前的 TiUP 版本升级至 v1.11.3 或更高 TiUP 版本,遥测保持升级前的开启或关闭状态。 + +## 提升改进 + +- TiDB + + - dup 允许 `AUTO_RANDOM` 列作为聚簇复合索引中的第一列 [#38572](https://github.com/pingcap/tidb/issues/38572) @[tangenta](https://github.com/tangenta) + +## Bug 修复 + ++ TiDB + + - issue 描述 + - issue 描述 + +- PD + + - dup 修复 PD 可能会非预期地向 Region 添加多个 Learner 的问题 [#5786](https://github.com/tikv/pd/issues/5786) @[HunDunDM](https://github.com/HunDunDM) + - dup 修复调用 `ReportMinResolvedTS` 过于频繁导致 PD OOM 的问题 [#5965](https://github.com/tikv/pd/issues/5965) @[HundunDM](https://github.com/HunDunDM) + ++ Tools + + + TiCDC + + - issue 描述 + - issue 描述 + - issue 描述 + - issue 描述 + + + TiDB Data Migration (DM) + + - dup 修复 `binlog-schema delete` 命令执行失败的问题 [#7373](https://github.com/pingcap/tiflow/issues/7373) @[liumengya94](https://github.com/liumengya94) + - dup 修复当最后一个 binlog 是被 skip 的 DDL 时,checkpoint 不推进的问题 [#8175](https://github.com/pingcap/tiflow/issues/8175) @[D3Hunter](https://github.com/D3Hunter) \ No newline at end of file From 50e311aeccbc4c66a8c2ebcde5a0c1c005640ad1 Mon Sep 17 00:00:00 2001 From: qiancai Date: Wed, 22 Feb 2023 16:45:00 +0800 Subject: [PATCH 02/11] Update release-6.1.5.md --- releases/release-6.1.5.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/releases/release-6.1.5.md b/releases/release-6.1.5.md index be45d5bf555e..ae402bc6f206 100644 --- a/releases/release-6.1.5.md +++ b/releases/release-6.1.5.md @@ -31,22 +31,23 @@ TiDB 版本:6.1.5 + TiDB - - issue 描述 - - issue 描述 + - Issue 描述 [#issue](issue-url) @[author](author-github-url) + - Issue 描述 [#issue](issue-url) @[author](author-github-url) - PD - dup 修复 PD 可能会非预期地向 Region 添加多个 Learner 的问题 [#5786](https://github.com/tikv/pd/issues/5786) @[HunDunDM](https://github.com/HunDunDM) - dup 修复调用 `ReportMinResolvedTS` 过于频繁导致 PD OOM 的问题 [#5965](https://github.com/tikv/pd/issues/5965) @[HundunDM](https://github.com/HunDunDM) + - Issue 描述 [#issue](issue-url) @[author](author-github-url) + Tools + TiCDC - - issue 描述 - - issue 描述 - - issue 描述 - - issue 描述 + - Issue 描述 [#issue](issue-url) @[author](author-github-url) + - Issue 描述 [#issue](issue-url) @[author](author-github-url) + - Issue 描述 [#issue](issue-url) @[author](author-github-url) + - Issue 描述 [#issue](issue-url) @[author](author-github-url) + TiDB Data Migration (DM) From 6aa501b9b35ab8623d46c9da43a0670d886ad472 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Wed, 22 Feb 2023 17:24:04 +0800 Subject: [PATCH 03/11] Update releases/release-6.1.5.md --- releases/release-6.1.5.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/release-6.1.5.md b/releases/release-6.1.5.md index ae402bc6f206..03bc743e7f2a 100644 --- a/releases/release-6.1.5.md +++ b/releases/release-6.1.5.md @@ -1,6 +1,6 @@ --- -title: TiDB 6.1.4 Release Notes -summary: 了解 TiDB 6.1.4 版本的新功能、兼容性变更、改进提升,以及错误修复。 +title: TiDB 6.1.5 Release Notes +summary: 了解 TiDB 6.1.5 版本的新功能、兼容性变更、改进提升,以及错误修复。 --- # TiDB 6.1.5 Release Notes From f1c29be4db99d9c45577e36c310fdf9b16d54518 Mon Sep 17 00:00:00 2001 From: qiancai Date: Wed, 22 Feb 2023 17:42:44 +0800 Subject: [PATCH 04/11] Update release-6.1.5.md --- releases/release-6.1.5.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/releases/release-6.1.5.md b/releases/release-6.1.5.md index 03bc743e7f2a..4298f3662c9c 100644 --- a/releases/release-6.1.5.md +++ b/releases/release-6.1.5.md @@ -38,10 +38,13 @@ TiDB 版本:6.1.5 - dup 修复 PD 可能会非预期地向 Region 添加多个 Learner 的问题 [#5786](https://github.com/tikv/pd/issues/5786) @[HunDunDM](https://github.com/HunDunDM) - dup 修复调用 `ReportMinResolvedTS` 过于频繁导致 PD OOM 的问题 [#5965](https://github.com/tikv/pd/issues/5965) @[HundunDM](https://github.com/HunDunDM) - - Issue 描述 [#issue](issue-url) @[author](author-github-url) + Tools + + Backup & Restore (BR) + + - dup 修复使用 `br debug` 命令解析 backupmeta 文件导致的 panic 的问题 [#40878](https://github.com/pingcap/tidb/issues/40878) @[MoCuishle28](https://github.com/MoCuishle28) + + TiCDC - Issue 描述 [#issue](issue-url) @[author](author-github-url) From f353d42d0bea72bc3fa7cbcfbcd0287e8749836d Mon Sep 17 00:00:00 2001 From: qiancai Date: Fri, 24 Feb 2023 18:31:00 +0800 Subject: [PATCH 05/11] Update release-6.1.5.md --- releases/release-6.1.5.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/releases/release-6.1.5.md b/releases/release-6.1.5.md index 4298f3662c9c..94d6777d9ce0 100644 --- a/releases/release-6.1.5.md +++ b/releases/release-6.1.5.md @@ -31,8 +31,8 @@ TiDB 版本:6.1.5 + TiDB - - Issue 描述 [#issue](issue-url) @[author](author-github-url) - - Issue 描述 [#issue](issue-url) @[author](author-github-url) + - 修复 data race 可能导致 TiDB 重启的问题 [#27725](https://github.com/pingcap/tidb/issues/27725) @[XuHuaiyu](https://github.com/XuHuaiyu) + - 修复使用 Read Committed 隔离级别 update 时可能读不到最新数据的问题 [#41581](https://github.com/pingcap/tidb/issues/41581) @ [cfzjywxk](https://github.com/cfzjywxk) - PD @@ -47,10 +47,9 @@ TiDB 版本:6.1.5 + TiCDC - - Issue 描述 [#issue](issue-url) @[author](author-github-url) - - Issue 描述 [#issue](issue-url) @[author](author-github-url) - - Issue 描述 [#issue](issue-url) @[author](author-github-url) - - Issue 描述 [#issue](issue-url) @[author](author-github-url) + - 修复在延迟过大时 apply redo log 可能会出现 OOM 的问题 [#8085](https://github.com/pingcap/tiflow/issues/8085) + - 修复部分 DML 执行出错时重试无效的逻辑 [#8087](https://github.com/pingcap/tiflow/issues/8087) + - 修复开启 redo log 写 meta 时性能下降的问题 [#8074](https://github.com/pingcap/tiflow/issues/8074) + TiDB Data Migration (DM) From db8b712bfdd190512eeddb0d3459f936864abc61 Mon Sep 17 00:00:00 2001 From: qiancai Date: Fri, 24 Feb 2023 22:52:34 +0800 Subject: [PATCH 06/11] remove the notes that are from 6.1.4 --- releases/release-6.1.5.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/releases/release-6.1.5.md b/releases/release-6.1.5.md index 94d6777d9ce0..cc1a45a020d2 100644 --- a/releases/release-6.1.5.md +++ b/releases/release-6.1.5.md @@ -36,19 +36,13 @@ TiDB 版本:6.1.5 - PD - - dup 修复 PD 可能会非预期地向 Region 添加多个 Learner 的问题 [#5786](https://github.com/tikv/pd/issues/5786) @[HunDunDM](https://github.com/HunDunDM) - dup 修复调用 `ReportMinResolvedTS` 过于频繁导致 PD OOM 的问题 [#5965](https://github.com/tikv/pd/issues/5965) @[HundunDM](https://github.com/HunDunDM) + Tools - + Backup & Restore (BR) - - - dup 修复使用 `br debug` 命令解析 backupmeta 文件导致的 panic 的问题 [#40878](https://github.com/pingcap/tidb/issues/40878) @[MoCuishle28](https://github.com/MoCuishle28) - + TiCDC - 修复在延迟过大时 apply redo log 可能会出现 OOM 的问题 [#8085](https://github.com/pingcap/tiflow/issues/8085) - - 修复部分 DML 执行出错时重试无效的逻辑 [#8087](https://github.com/pingcap/tiflow/issues/8087) - 修复开启 redo log 写 meta 时性能下降的问题 [#8074](https://github.com/pingcap/tiflow/issues/8074) + TiDB Data Migration (DM) From 750ed432ee4d0fb3ce5f063b5947c193748492e5 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Sun, 26 Feb 2023 10:10:01 +0800 Subject: [PATCH 07/11] Apply suggestions from code review --- releases/release-6.1.5.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/releases/release-6.1.5.md b/releases/release-6.1.5.md index cc1a45a020d2..7841cd1fd384 100644 --- a/releases/release-6.1.5.md +++ b/releases/release-6.1.5.md @@ -1,6 +1,6 @@ --- title: TiDB 6.1.5 Release Notes -summary: 了解 TiDB 6.1.5 版本的新功能、兼容性变更、改进提升,以及错误修复。 +summary: 了解 TiDB 6.1.5 版本的兼容性变更、改进提升,以及错误修复。 --- # TiDB 6.1.5 Release Notes @@ -15,8 +15,8 @@ TiDB 版本:6.1.5 - 自 2023 年 2 月 20 日起,新发布的 TiDB 和 TiDB Dashboard 版本(包含 6.1.5),默认关闭[遥测功能](/telemetry.md),即默认不再收集使用情况信息分享给 PingCAP。如果升级至这些版本前使用默认的遥测配置,则升级后遥测功能处于关闭状态。具体的版本可参考 [TiDB 版本发布时间线](/releases/release-timeline.md)。 - - 系统变量[`tidb_enable_telemetry`](/system-variables.md#tidb_enable_telemetry-从-v402-版本开始引入) 默认值由 `ON` 修改为 `OFF`。 - - TiDB 配置项 [`enable-telemetry`](/tidb-configuration-file.md#enable-telemetry-从-v402-版本开始引入) 默认值由 `true` 改为 `false` + - 系统变量 [`tidb_enable_telemetry`](/system-variables.md#tidb_enable_telemetry-从-v402-版本开始引入) 默认值由 `ON` 修改为 `OFF`。 + - TiDB 配置项 [`enable-telemetry`](/tidb-configuration-file.md#enable-telemetry-从-v402-版本开始引入) 默认值由 `true` 改为 `false`。 - PD 配置项 [`enable-telemetry`](/pd-configuration-file.md#enable-telemetry) 默认值由 `true` 改为 `false`。 - 从 v1.11.3 起,新部署的 TiUP 默认关闭遥测功能,即默认不再收集使用情况信息。如果从 v1.11.3 之前的 TiUP 版本升级至 v1.11.3 或更高 TiUP 版本,遥测保持升级前的开启或关闭状态。 From 2de9d4429fd307f8cea45b166abb2b04853ee4d6 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Sun, 26 Feb 2023 11:21:35 +0800 Subject: [PATCH 08/11] Apply suggestions from code review --- releases/release-6.1.5.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/releases/release-6.1.5.md b/releases/release-6.1.5.md index 7841cd1fd384..cd34c6da7a1b 100644 --- a/releases/release-6.1.5.md +++ b/releases/release-6.1.5.md @@ -32,7 +32,7 @@ TiDB 版本:6.1.5 + TiDB - 修复 data race 可能导致 TiDB 重启的问题 [#27725](https://github.com/pingcap/tidb/issues/27725) @[XuHuaiyu](https://github.com/XuHuaiyu) - - 修复使用 Read Committed 隔离级别 update 时可能读不到最新数据的问题 [#41581](https://github.com/pingcap/tidb/issues/41581) @ [cfzjywxk](https://github.com/cfzjywxk) + - 修复当使用 Read Committed 隔离级别时 `UPDATE` 语句可能读不到最新数据的问题 [#41581](https://github.com/pingcap/tidb/issues/41581) @ [cfzjywxk](https://github.com/cfzjywxk) - PD @@ -42,8 +42,8 @@ TiDB 版本:6.1.5 + TiCDC - - 修复在延迟过大时 apply redo log 可能会出现 OOM 的问题 [#8085](https://github.com/pingcap/tiflow/issues/8085) - - 修复开启 redo log 写 meta 时性能下降的问题 [#8074](https://github.com/pingcap/tiflow/issues/8074) + - 修复在延迟过大时 apply redo log 可能会出现 OOM 的问题 [#8085](https://github.com/pingcap/tiflow/issues/8085) @[CharlesCheung96](https://github.com/CharlesCheung96) + - 修复当开启 redo log 写 meta 时性能下降的问题 [#8074](https://github.com/pingcap/tiflow/issues/8074) @[CharlesCheung96](https://github.com/CharlesCheung96) + TiDB Data Migration (DM) From 7d73f51517ab12a1b23c38b995dbc0be7f3ac832 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Sun, 26 Feb 2023 11:29:02 +0800 Subject: [PATCH 09/11] Apply suggestions from code review --- releases/release-6.1.5.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/release-6.1.5.md b/releases/release-6.1.5.md index cd34c6da7a1b..9c4f3501b924 100644 --- a/releases/release-6.1.5.md +++ b/releases/release-6.1.5.md @@ -32,7 +32,7 @@ TiDB 版本:6.1.5 + TiDB - 修复 data race 可能导致 TiDB 重启的问题 [#27725](https://github.com/pingcap/tidb/issues/27725) @[XuHuaiyu](https://github.com/XuHuaiyu) - - 修复当使用 Read Committed 隔离级别时 `UPDATE` 语句可能读不到最新数据的问题 [#41581](https://github.com/pingcap/tidb/issues/41581) @ [cfzjywxk](https://github.com/cfzjywxk) + - 修复当使用 Read Committed 隔离级别时 `UPDATE` 语句可能读不到最新数据的问题 [#41581](https://github.com/pingcap/tidb/issues/41581) @[cfzjywxk](https://github.com/cfzjywxk) - PD @@ -42,7 +42,7 @@ TiDB 版本:6.1.5 + TiCDC - - 修复在延迟过大时 apply redo log 可能会出现 OOM 的问题 [#8085](https://github.com/pingcap/tiflow/issues/8085) @[CharlesCheung96](https://github.com/CharlesCheung96) + - 修复当同步的延迟过大时 apply redo log 可能会出现 OOM 的问题 [#8085](https://github.com/pingcap/tiflow/issues/8085) @[CharlesCheung96](https://github.com/CharlesCheung96) - 修复当开启 redo log 写 meta 时性能下降的问题 [#8074](https://github.com/pingcap/tiflow/issues/8074) @[CharlesCheung96](https://github.com/CharlesCheung96) + TiDB Data Migration (DM) From 983c1ef7f69d34919baf96e7e7ccec80b98690ae Mon Sep 17 00:00:00 2001 From: qiancai Date: Mon, 27 Feb 2023 11:38:27 +0800 Subject: [PATCH 10/11] add TOC changes --- TOC.md | 1 + releases/release-notes.md | 1 + releases/release-timeline.md | 1 + 3 files changed, 3 insertions(+) diff --git a/TOC.md b/TOC.md index ac8448a192c3..c7e53861034c 100644 --- a/TOC.md +++ b/TOC.md @@ -911,6 +911,7 @@ - [TiDB 版本规则](/releases/versioning.md) - [TiDB 离线包](/binary-package.md) - v6.1 + - [6.1.5](/releases/release-6.1.5.md) - [6.1.4](/releases/release-6.1.4.md) - [6.1.3](/releases/release-6.1.3.md) - [6.1.2](/releases/release-6.1.2.md) diff --git a/releases/release-notes.md b/releases/release-notes.md index b73c79afa76a..5a0d888481df 100644 --- a/releases/release-notes.md +++ b/releases/release-notes.md @@ -8,6 +8,7 @@ TiDB 历史版本发布声明如下: ## 6.1 +- [6.1.5](/releases/release-6.1.5.md): 2023-02-28 - [6.1.4](/releases/release-6.1.4.md): 2023-02-08 - [6.1.3](/releases/release-6.1.3.md): 2022-12-05 - [6.1.2](/releases/release-6.1.2.md): 2022-10-24 diff --git a/releases/release-timeline.md b/releases/release-timeline.md index e4fb51aecf39..298ac15f6839 100644 --- a/releases/release-timeline.md +++ b/releases/release-timeline.md @@ -9,6 +9,7 @@ summary: 了解 TiDB 的版本发布时间线。 | 版本 | 发布日期 | | :--- | :--- | +| [6.1.5](/releases/release-6.1.5.md) | 2023-02-28 | | [6.1.4](/releases/release-6.1.4.md) | 2023-02-08 | | [5.1.5](/releases/release-5.1.5.md) | 2022-12-28 | | [6.1.3](/releases/release-6.1.3.md) | 2022-12-05 | From 4def1e7b94026cdfa18e3628e5b153921600ba2f Mon Sep 17 00:00:00 2001 From: qiancai Date: Mon, 27 Feb 2023 16:02:45 +0800 Subject: [PATCH 11/11] remove the dup mark --- releases/release-6.1.5.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/releases/release-6.1.5.md b/releases/release-6.1.5.md index 9c4f3501b924..896c4f382969 100644 --- a/releases/release-6.1.5.md +++ b/releases/release-6.1.5.md @@ -25,7 +25,7 @@ TiDB 版本:6.1.5 - TiDB - - dup 允许 `AUTO_RANDOM` 列作为聚簇复合索引中的第一列 [#38572](https://github.com/pingcap/tidb/issues/38572) @[tangenta](https://github.com/tangenta) + - 允许 `AUTO_RANDOM` 列作为聚簇复合索引中的第一列 [#38572](https://github.com/pingcap/tidb/issues/38572) @[tangenta](https://github.com/tangenta) ## Bug 修复 @@ -36,7 +36,7 @@ TiDB 版本:6.1.5 - PD - - dup 修复调用 `ReportMinResolvedTS` 过于频繁导致 PD OOM 的问题 [#5965](https://github.com/tikv/pd/issues/5965) @[HundunDM](https://github.com/HunDunDM) + - 修复调用 `ReportMinResolvedTS` 过于频繁导致 PD OOM 的问题 [#5965](https://github.com/tikv/pd/issues/5965) @[HundunDM](https://github.com/HunDunDM) + Tools @@ -47,5 +47,5 @@ TiDB 版本:6.1.5 + TiDB Data Migration (DM) - - dup 修复 `binlog-schema delete` 命令执行失败的问题 [#7373](https://github.com/pingcap/tiflow/issues/7373) @[liumengya94](https://github.com/liumengya94) - - dup 修复当最后一个 binlog 是被 skip 的 DDL 时,checkpoint 不推进的问题 [#8175](https://github.com/pingcap/tiflow/issues/8175) @[D3Hunter](https://github.com/D3Hunter) \ No newline at end of file + - 修复 `binlog-schema delete` 命令执行失败的问题 [#7373](https://github.com/pingcap/tiflow/issues/7373) @[liumengya94](https://github.com/liumengya94) + - 修复当最后一个 binlog 是被 skip 的 DDL 时,checkpoint 不推进的问题 [#8175](https://github.com/pingcap/tiflow/issues/8175) @[D3Hunter](https://github.com/D3Hunter) \ No newline at end of file