From 2efe0ea464ead639729dea4b98ba38415f3b82fe Mon Sep 17 00:00:00 2001 From: shichun-0415 Date: Fri, 25 Nov 2022 21:40:55 +0800 Subject: [PATCH 01/27] add 6.1.3 release notes --- TOC.md | 1 + releases/release-6.1.3.md | 87 ++++++++++++++++++++++++++++++++++++ releases/release-notes.md | 1 + releases/release-timeline.md | 1 + 4 files changed, 90 insertions(+) create mode 100644 releases/release-6.1.3.md diff --git a/TOC.md b/TOC.md index e6f0701fbf313..a7f082ebc2251 100644 --- a/TOC.md +++ b/TOC.md @@ -907,6 +907,7 @@ - v6.2 - [6.2.0-DMR](/releases/release-6.2.0.md) - v6.1 + - [6.1.3](/releases/release-6.1.3.md) - [6.1.2](/releases/release-6.1.2.md) - [6.1.1](/releases/release-6.1.1.md) - [6.1.0](/releases/release-6.1.0.md) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md new file mode 100644 index 0000000000000..2fdd422df759c --- /dev/null +++ b/releases/release-6.1.3.md @@ -0,0 +1,87 @@ +--- +title: TiDB 6.1.3 Release Notes +--- + +# TiDB 6.1.3 Release Notes + +Release date: xx, xx, 2022 + +TiDB version: 6.1.3 + +Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with-tidb) | [Production deployment](https://docs.pingcap.com/tidb/v6.1/production-deployment-using-tiup) | [Installation packages](https://www.pingcap.com/download/?version=v6.1.3#version-list) + +## Improvements + +## Bug fixes + ++ TiDB + + + + - (dup) Fix the issue that the `grantor` field is missing in the `mysql.tables_priv` table [#38293](https://github.com/pingcap/tidb/issues/38293) @[CbcWestwolf](https://github.com/CbcWestwolf) + - Fix an issue that `get_lock()` cannot hold for more than 10 minutes. [#38706](https://github.com/pingcap/tidb/issues/38706) @[tangenta](https://github.com/tangenta) + - Fix the issue that the auto increment column cannot be used with check constraint. [#38894](https://github.com/pingcap/tidb/issues/38894) @[YangKeao](https://github.com/YangKeao) + - Fix broken log rotation of grpc [#38941](https://github.com/pingcap/tidb/issues/38941) @[xhebox](https://github.com/xhebox) + - Delete TiFlash sync status from etcd when table is truncated or dropped [#37168](https://github.com/pingcap/tidb/issues/37168) @[CalvinNeo](https://github.com/CalvinNeo) + - Fix the issue of arbitrary file read via data source name injection (CVE-2022-3023). [#38541](https://github.com/pingcap/tidb/issues/38541) @[lance6716](https://github.com/lance6716) + - (dup) Fix the issue of the wrong query result that occurs when the mistakenly pushed-down conditions are discarded by Join Reorder [#38736](https://github.com/pingcap/tidb/issues/38736) @[winoros](https://github.com/winoros) + + + + + + + +- PD + + + + - (dup) Fix inaccurate Stream timeout and accelerate leader switchover [#5207](https://github.com/tikv/pd/issues/5207) @[CabinfeverB](https://github.com/CabinfeverB) + ++ TiKV + + + + - (dup) Fix abnormal Region competition caused by expired lease during snapshot acquisition [#13553](https://github.com/tikv/tikv/issues/13553) @[SpadeA-Tang](https://github.com/SpadeA-Tang) + ++ TiFlash + + + + - (dup) Fix the issue that logical operators return wrong results when the argument type is UInt8 [#6127](https://github.com/pingcap/tiflash/issues/6127) + - (dup) Fix the issue that wrong data input for `CAST(value AS DATETIME)` causing high TiFlash sys CPU [#5097](https://github.com/pingcap/tiflash/issues/5097) @[xzhangxian1008](https://github.com/xzhangxian1008) + + + + - Fix too many column files under heavy write pressure. [#6361](https://github.com/pingcap/tiflash/issues/6361) @[lidezhu](https://github.com/lidezhu) + ++ Tools + + + Backup & Restore (BR) + + + + + Dumpling + + + + + TiCDC + + + + - Fix an issue that causes data lost when pause and resume changefeed while executing DDL. [#7682](https://github.com/pingcap/tiflow/issues/7682) @[asddongmen](https://github.com/asddongmen) + + + TiDB Binlog + + + + + TiDB Data Migration (DM) + + + + - Fix the issue that when `collation_compatible` is set to `"strict"`, DM might generate SQL with duplicated collations [#6832](https://github.com/pingcap/tiflow/issues/6832) @[lance6716](https://github.com/lance6716) + - Fix sometime DM task is stopped with error "Unknown placement policy" [#7493](https://github.com/pingcap/tiflow/issues/7493) @[lance6716](https://github.com/lance6716) + + + TiDB Lightning + + diff --git a/releases/release-notes.md b/releases/release-notes.md index fc7deca560919..3228734d5e557 100644 --- a/releases/release-notes.md +++ b/releases/release-notes.md @@ -19,6 +19,7 @@ aliases: ['/docs/dev/releases/release-notes/','/docs/dev/releases/rn/'] ## 6.1 +- [6.1.3](/releases/release-6.1.3.md): 2022-xx-xx - [6.1.2](/releases/release-6.1.2.md): 2022-10-24 - [6.1.1](/releases/release-6.1.1.md): 2022-09-01 - [6.1.0](/releases/release-6.1.0.md): 2022-06-13 diff --git a/releases/release-timeline.md b/releases/release-timeline.md index 19017ceaf9c00..54855e8edc6a8 100644 --- a/releases/release-timeline.md +++ b/releases/release-timeline.md @@ -9,6 +9,7 @@ This document shows all the released TiDB versions in reverse chronological orde | Version | Release Date | | :--- | :--- | +| [6.1.3](/releases/release-6.1.3.md) | 2022-xx-xx | | [5.3.4](/releases/release-5.3.4.md) | 2022-11-24 | | [6.4.0-DMR](/releases/release-6.4.0.md) | 2022-11-17 | | [6.1.2](/releases/release-6.1.2.md) | 2022-10-24 | From 63dd1407d733ad758d84fa2cc131f6320e3d6ef4 Mon Sep 17 00:00:00 2001 From: shichun-0415 Date: Mon, 28 Nov 2022 15:29:51 +0800 Subject: [PATCH 02/27] Update release-6.1.3.md --- releases/release-6.1.3.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 2fdd422df759c..9dd2230dd2c5a 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -16,31 +16,33 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- + TiDB - + - (dup) Fix the issue that the `grantor` field is missing in the `mysql.tables_priv` table [#38293](https://github.com/pingcap/tidb/issues/38293) @[CbcWestwolf](https://github.com/CbcWestwolf) + - (dup) Fix the issue of the wrong query result that occurs when the mistakenly pushed-down conditions are discarded by Join Reorder [#38736](https://github.com/pingcap/tidb/issues/38736) @[winoros](https://github.com/winoros) - Fix an issue that `get_lock()` cannot hold for more than 10 minutes. [#38706](https://github.com/pingcap/tidb/issues/38706) @[tangenta](https://github.com/tangenta) - Fix the issue that the auto increment column cannot be used with check constraint. [#38894](https://github.com/pingcap/tidb/issues/38894) @[YangKeao](https://github.com/YangKeao) - Fix broken log rotation of grpc [#38941](https://github.com/pingcap/tidb/issues/38941) @[xhebox](https://github.com/xhebox) - Delete TiFlash sync status from etcd when table is truncated or dropped [#37168](https://github.com/pingcap/tidb/issues/37168) @[CalvinNeo](https://github.com/CalvinNeo) - Fix the issue of arbitrary file read via data source name injection (CVE-2022-3023). [#38541](https://github.com/pingcap/tidb/issues/38541) @[lance6716](https://github.com/lance6716) - - (dup) Fix the issue of the wrong query result that occurs when the mistakenly pushed-down conditions are discarded by Join Reorder [#38736](https://github.com/pingcap/tidb/issues/38736) @[winoros](https://github.com/winoros) - + + + - + - + - (dup) Fix the issue that in some scenarios the pessimistic lock is incorrectly added to the non-unique secondary index [#36235](https://github.com/pingcap/tidb/issues/36235) @[ekexium](https://github.com/ekexium) - PD - + - (dup) Fix inaccurate Stream timeout and accelerate leader switchover [#5207](https://github.com/tikv/pd/issues/5207) @[CabinfeverB](https://github.com/CabinfeverB) + TiKV - + - (dup) Fix abnormal Region competition caused by expired lease during snapshot acquisition [#13553](https://github.com/tikv/tikv/issues/13553) @[SpadeA-Tang](https://github.com/SpadeA-Tang) @@ -54,6 +56,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - Fix too many column files under heavy write pressure. [#6361](https://github.com/pingcap/tiflash/issues/6361) @[lidezhu](https://github.com/lidezhu) + - Fix the problem that column files in delta layer cannot be compacted after restart tiflash [#6159] @[lidezhu](https://github.com/lidezhu) + Tools From 928eccc411c1e5fc9b110f2f5168bfcd33dd5efb Mon Sep 17 00:00:00 2001 From: shichun-0415 Date: Mon, 28 Nov 2022 16:34:27 +0800 Subject: [PATCH 03/27] correct owner --- releases/release-6.1.3.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 9dd2230dd2c5a..55d247d786519 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -28,7 +28,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - + @@ -42,7 +42,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- + TiKV - + - (dup) Fix abnormal Region competition caused by expired lease during snapshot acquisition [#13553](https://github.com/tikv/tikv/issues/13553) @[SpadeA-Tang](https://github.com/SpadeA-Tang) From f358014b165052e0e773f406f003bbb55ad7ef3b Mon Sep 17 00:00:00 2001 From: Flowyi Date: Wed, 30 Nov 2022 11:24:15 +0800 Subject: [PATCH 04/27] Update releases/release-6.1.3.md --- releases/release-6.1.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 55d247d786519..481bbc244ec46 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -56,7 +56,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - Fix too many column files under heavy write pressure. [#6361](https://github.com/pingcap/tiflash/issues/6361) @[lidezhu](https://github.com/lidezhu) - - Fix the problem that column files in delta layer cannot be compacted after restart tiflash [#6159] @[lidezhu](https://github.com/lidezhu) + - Fix the issue that column files in delta layer cannot be compacted after restart tiflash [#6159] @[lidezhu](https://github.com/lidezhu) + Tools From 449c3209661ff32141b056aa55a5a8476f626603 Mon Sep 17 00:00:00 2001 From: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> Date: Wed, 30 Nov 2022 11:30:22 +0800 Subject: [PATCH 05/27] Apply suggestions from code review Co-authored-by: Flowyi --- releases/release-6.1.3.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 481bbc244ec46..af6c8c83fbf20 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -55,8 +55,8 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - - Fix too many column files under heavy write pressure. [#6361](https://github.com/pingcap/tiflash/issues/6361) @[lidezhu](https://github.com/lidezhu) - - Fix the issue that column files in delta layer cannot be compacted after restart tiflash [#6159] @[lidezhu](https://github.com/lidezhu) + - Fix the issue that heavy write pressure could generate too many column files in delta layer. [#6361](https://github.com/pingcap/tiflash/issues/6361) @[lidezhu](https://github.com/lidezhu) + - Fix the issue that column files in delta layer cannot be compacted after restart tiflash [#6159](https://github.com/pingcap/tiflash/issues/6159) @[lidezhu](https://github.com/lidezhu) + Tools From edbcc87c0dfea053ded8fbc4adafc1ee9f335886 Mon Sep 17 00:00:00 2001 From: lance6716 Date: Wed, 30 Nov 2022 16:37:47 +0800 Subject: [PATCH 06/27] Update releases/release-6.1.3.md --- releases/release-6.1.3.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index af6c8c83fbf20..4ddc276f47399 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -84,6 +84,8 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - Fix the issue that when `collation_compatible` is set to `"strict"`, DM might generate SQL with duplicated collations [#6832](https://github.com/pingcap/tiflow/issues/6832) @[lance6716](https://github.com/lance6716) - Fix sometime DM task is stopped with error "Unknown placement policy" [#7493](https://github.com/pingcap/tiflow/issues/7493) @[lance6716](https://github.com/lance6716) + - Fix in some cases log contains many "COMMIT" related lines and relay log file may re-pull from upstream [#7719](https://github.com/pingcap/tiflow/pull/7719) @[liumengya94](https://github.com/liumengya94) + - Fix when DM worker exits a new worker may be scheduled too quickly and write duplicated data [#7745](https://github.com/pingcap/tiflow/pull/7745) @[GMHDBJD](https://github.com/GMHDBJD) + TiDB Lightning From a5e6eb28f6dadc4fbac2801be9d9f3da40985885 Mon Sep 17 00:00:00 2001 From: lance6716 Date: Wed, 30 Nov 2022 16:38:32 +0800 Subject: [PATCH 07/27] Update releases/release-6.1.3.md --- releases/release-6.1.3.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 4ddc276f47399..6cbfeb292a0c7 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -84,8 +84,8 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - Fix the issue that when `collation_compatible` is set to `"strict"`, DM might generate SQL with duplicated collations [#6832](https://github.com/pingcap/tiflow/issues/6832) @[lance6716](https://github.com/lance6716) - Fix sometime DM task is stopped with error "Unknown placement policy" [#7493](https://github.com/pingcap/tiflow/issues/7493) @[lance6716](https://github.com/lance6716) - - Fix in some cases log contains many "COMMIT" related lines and relay log file may re-pull from upstream [#7719](https://github.com/pingcap/tiflow/pull/7719) @[liumengya94](https://github.com/liumengya94) - - Fix when DM worker exits a new worker may be scheduled too quickly and write duplicated data [#7745](https://github.com/pingcap/tiflow/pull/7745) @[GMHDBJD](https://github.com/GMHDBJD) + - Fix in some cases log contains many "COMMIT" related lines and relay log file may re-pull from upstream [#7719](https://github.com/pingcap/tiflow/pull/7719) @[liumengya94](https://github.com/liumengya94) + - Fix when DM worker exits a new worker may be scheduled too quickly and write duplicated data [#7745](https://github.com/pingcap/tiflow/pull/7745) @[GMHDBJD](https://github.com/GMHDBJD) + TiDB Lightning From d1e3ed6b9cb3ce3aee047427c0111460b638938d Mon Sep 17 00:00:00 2001 From: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> Date: Wed, 30 Nov 2022 17:09:59 +0800 Subject: [PATCH 08/27] add PD and TiCDC improvements, and planner bug fixes Co-authored-by: Yuanjia Zhang --- releases/release-6.1.3.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 6cbfeb292a0c7..3fd37ca8b7d75 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -12,6 +12,17 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- ## Improvements +- PD + + - Optimize the lock granularity and improve the processing ability of heartbeat under high concurrency [#5586](https://github.com/tikv/pd/issues/5586) @[rleungx](https://github.com/rleungx) + +- Tools + + - TiCDC + + - Enable transaction split and disable safeMode of a changefeed in TiCDC by defult [#7505](https://github.com/pingcap/tiflow/issues/7505) @[asddongmen](https://github.com/asddongmen) + - Improve kakfa protocol encoder performance [#7540](https://github.com/pingcap/tiflow/issues/7540), [#7532](https://github.com/pingcap/tiflow/issues/7532), [#7543](https://github.com/pingcap/tiflow/issues/7543) @[sdojjy](https://github.com/sdojjy) @[3AceShowHand](https://github.com/3AceShowHand) + ## Bug fixes + TiDB @@ -28,7 +39,8 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - + - Fix the issue that Projection may push expression down through Join wrongly [#38736](https://github.com/pingcap/tidb/issues/38736) @[winoros](https://github.com/winoros) + - Fix the issue that the background statistics collecting task may panic [#35421](https://github.com/pingcap/tidb/issues/35421) @[lilinghai](https://github.com/lilinghai) From 66270d419ac5209a0be8667991812f47b33b984a Mon Sep 17 00:00:00 2001 From: lance6716 Date: Thu, 1 Dec 2022 09:45:24 +0800 Subject: [PATCH 09/27] Update releases/release-6.1.3.md --- releases/release-6.1.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 3fd37ca8b7d75..b28583cc333fe 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -96,7 +96,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - Fix the issue that when `collation_compatible` is set to `"strict"`, DM might generate SQL with duplicated collations [#6832](https://github.com/pingcap/tiflow/issues/6832) @[lance6716](https://github.com/lance6716) - Fix sometime DM task is stopped with error "Unknown placement policy" [#7493](https://github.com/pingcap/tiflow/issues/7493) @[lance6716](https://github.com/lance6716) - - Fix in some cases log contains many "COMMIT" related lines and relay log file may re-pull from upstream [#7719](https://github.com/pingcap/tiflow/pull/7719) @[liumengya94](https://github.com/liumengya94) + - Fix in some cases relay log file may re-pull from upstream [#7719](https://github.com/pingcap/tiflow/pull/7719) @[liumengya94](https://github.com/liumengya94) - Fix when DM worker exits a new worker may be scheduled too quickly and write duplicated data [#7745](https://github.com/pingcap/tiflow/pull/7745) @[GMHDBJD](https://github.com/GMHDBJD) + TiDB Lightning From 9ba9afe65d0b76d1e67870b1aa88d3c82d0f058d Mon Sep 17 00:00:00 2001 From: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> Date: Thu, 1 Dec 2022 14:27:29 +0800 Subject: [PATCH 10/27] Apply suggestions from code review Co-authored-by: ruoxi --- releases/release-6.1.3.md | 1 + 1 file changed, 1 insertion(+) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index b28583cc333fe..6c9b85aa0510f 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -41,6 +41,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - Fix the issue that Projection may push expression down through Join wrongly [#38736](https://github.com/pingcap/tidb/issues/38736) @[winoros](https://github.com/winoros) - Fix the issue that the background statistics collecting task may panic [#35421](https://github.com/pingcap/tidb/issues/35421) @[lilinghai](https://github.com/lilinghai) + - Fix the issue that function `str_to_date` returns wrong result on SQL Mode `NO_ZERO_DATE` [#39146](https://github.com/pingcap/tidb/issues/39146) @[mengxin9014](https://github.com/mengxin9014) From e703aebb65621bfa1fc3993e6c6303e27137866d Mon Sep 17 00:00:00 2001 From: shichun-0415 Date: Thu, 1 Dec 2022 14:57:49 +0800 Subject: [PATCH 11/27] Update release-6.1.3.md --- releases/release-6.1.3.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 6c9b85aa0510f..b574b632fecb1 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -14,15 +14,19 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - PD + + - Optimize the lock granularity and improve the processing ability of heartbeat under high concurrency [#5586](https://github.com/tikv/pd/issues/5586) @[rleungx](https://github.com/rleungx) - Tools - TiCDC - + + + - Enable transaction split and disable safeMode of a changefeed in TiCDC by defult [#7505](https://github.com/pingcap/tiflow/issues/7505) @[asddongmen](https://github.com/asddongmen) - Improve kakfa protocol encoder performance [#7540](https://github.com/pingcap/tiflow/issues/7540), [#7532](https://github.com/pingcap/tiflow/issues/7532), [#7543](https://github.com/pingcap/tiflow/issues/7543) @[sdojjy](https://github.com/sdojjy) @[3AceShowHand](https://github.com/3AceShowHand) - + ## Bug fixes + TiDB @@ -39,9 +43,12 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- + - Fix the issue that function `str_to_date` returns wrong result on SQL Mode `NO_ZERO_DATE` [#39146](https://github.com/pingcap/tidb/issues/39146) @[mengxin9014](https://github.com/mengxin9014) + + + - Fix the issue that Projection may push expression down through Join wrongly [#38736](https://github.com/pingcap/tidb/issues/38736) @[winoros](https://github.com/winoros) - Fix the issue that the background statistics collecting task may panic [#35421](https://github.com/pingcap/tidb/issues/35421) @[lilinghai](https://github.com/lilinghai) - - Fix the issue that function `str_to_date` returns wrong result on SQL Mode `NO_ZERO_DATE` [#39146](https://github.com/pingcap/tidb/issues/39146) @[mengxin9014](https://github.com/mengxin9014) @@ -77,6 +84,8 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- + - Fix the issue that fail to restore when use old collation framework in databases or tables [#39150](https://github.com/pingcap/tidb/issues/39150) @[MoCuishle28](https://github.com/MoCuishle28) + + Dumpling @@ -95,7 +104,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - - Fix the issue that when `collation_compatible` is set to `"strict"`, DM might generate SQL with duplicated collations [#6832](https://github.com/pingcap/tiflow/issues/6832) @[lance6716](https://github.com/lance6716) + - (dup) Fix the issue that when `collation_compatible` is set to `"strict"`, DM might generate SQL with duplicated collations [#6832](https://github.com/pingcap/tiflow/issues/6832) @[lance6716](https://github.com/lance6716) - Fix sometime DM task is stopped with error "Unknown placement policy" [#7493](https://github.com/pingcap/tiflow/issues/7493) @[lance6716](https://github.com/lance6716) - Fix in some cases relay log file may re-pull from upstream [#7719](https://github.com/pingcap/tiflow/pull/7719) @[liumengya94](https://github.com/liumengya94) - Fix when DM worker exits a new worker may be scheduled too quickly and write duplicated data [#7745](https://github.com/pingcap/tiflow/pull/7745) @[GMHDBJD](https://github.com/GMHDBJD) From d2d8c93b64b8b42ea65cb21d35ed26378bbf733d Mon Sep 17 00:00:00 2001 From: shichun-0415 Date: Thu, 1 Dec 2022 15:07:17 +0800 Subject: [PATCH 12/27] Update release-6.1.3.md --- releases/release-6.1.3.md | 1 - 1 file changed, 1 deletion(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index b574b632fecb1..3cd59b5d72ca8 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -47,7 +47,6 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - - Fix the issue that Projection may push expression down through Join wrongly [#38736](https://github.com/pingcap/tidb/issues/38736) @[winoros](https://github.com/winoros) - Fix the issue that the background statistics collecting task may panic [#35421](https://github.com/pingcap/tidb/issues/35421) @[lilinghai](https://github.com/lilinghai) From 85c352a453f27629a9494f7bf9c6dbe9179eb4a7 Mon Sep 17 00:00:00 2001 From: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> Date: Thu, 1 Dec 2022 16:17:03 +0800 Subject: [PATCH 13/27] Apply suggestions from code review --- releases/release-6.1.3.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 3cd59b5d72ca8..49bcd04205b9a 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -35,19 +35,19 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - (dup) Fix the issue that the `grantor` field is missing in the `mysql.tables_priv` table [#38293](https://github.com/pingcap/tidb/issues/38293) @[CbcWestwolf](https://github.com/CbcWestwolf) - (dup) Fix the issue of the wrong query result that occurs when the mistakenly pushed-down conditions are discarded by Join Reorder [#38736](https://github.com/pingcap/tidb/issues/38736) @[winoros](https://github.com/winoros) - - Fix an issue that `get_lock()` cannot hold for more than 10 minutes. [#38706](https://github.com/pingcap/tidb/issues/38706) @[tangenta](https://github.com/tangenta) - - Fix the issue that the auto increment column cannot be used with check constraint. [#38894](https://github.com/pingcap/tidb/issues/38894) @[YangKeao](https://github.com/YangKeao) - - Fix broken log rotation of grpc [#38941](https://github.com/pingcap/tidb/issues/38941) @[xhebox](https://github.com/xhebox) - - Delete TiFlash sync status from etcd when table is truncated or dropped [#37168](https://github.com/pingcap/tidb/issues/37168) @[CalvinNeo](https://github.com/CalvinNeo) - - Fix the issue of arbitrary file read via data source name injection (CVE-2022-3023). [#38541](https://github.com/pingcap/tidb/issues/38541) @[lance6716](https://github.com/lance6716) + - Fix the issue that `get_lock()` cannot hold for more than 10 minutes [#38706](https://github.com/pingcap/tidb/issues/38706) @[tangenta](https://github.com/tangenta) + - Fix the issue that the auto-increment column cannot be used with check constraint [#38894](https://github.com/pingcap/tidb/issues/38894) @[YangKeao](https://github.com/YangKeao) + - Fix the issue that the gPRC log is output to a wrong file [#38941](https://github.com/pingcap/tidb/issues/38941) @[xhebox](https://github.com/xhebox) + - Fix the issue that TiFlash sync status is nor removed from etcd when a table is truncated or dropped [#37168](https://github.com/pingcap/tidb/issues/37168) @[CalvinNeo](https://github.com/CalvinNeo) + - Fix the issue that data files can be accessed unrestrainedly via data source name injection (CVE-2022-3023) [#38541](https://github.com/pingcap/tidb/issues/38541) @[lance6716](https://github.com/lance6716) - - Fix the issue that function `str_to_date` returns wrong result on SQL Mode `NO_ZERO_DATE` [#39146](https://github.com/pingcap/tidb/issues/39146) @[mengxin9014](https://github.com/mengxin9014) + - Fix the issue that function `str_to_date` returns wrong result under the `NO_ZERO_DATE` SQL Mode [#39146](https://github.com/pingcap/tidb/issues/39146) @[mengxin9014](https://github.com/mengxin9014) - - Fix the issue that the background statistics collecting task may panic [#35421](https://github.com/pingcap/tidb/issues/35421) @[lilinghai](https://github.com/lilinghai) + - Fix the issue that statistics collecting tasks in the background might panic [#35421](https://github.com/pingcap/tidb/issues/35421) @[lilinghai](https://github.com/lilinghai) From aac988f2d08d83d1796fbdad7b29f9eb06f7ec1c Mon Sep 17 00:00:00 2001 From: Aolin Date: Thu, 1 Dec 2022 23:20:41 +0800 Subject: [PATCH 14/27] bug fix: tools Signed-off-by: Aolin --- releases/release-6.1.3.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 49bcd04205b9a..160e285948b16 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -81,9 +81,9 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- + Backup & Restore (BR) - + - - Fix the issue that fail to restore when use old collation framework in databases or tables [#39150](https://github.com/pingcap/tidb/issues/39150) @[MoCuishle28](https://github.com/MoCuishle28) + - Fix the issue that restore task fails when using old framework for collations in databases or tables [#39150](https://github.com/pingcap/tidb/issues/39150) @[MoCuishle28](https://github.com/MoCuishle28) + Dumpling @@ -91,9 +91,9 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- + TiCDC - + - - Fix an issue that causes data lost when pause and resume changefeed while executing DDL. [#7682](https://github.com/pingcap/tiflow/issues/7682) @[asddongmen](https://github.com/asddongmen) + - Fix data loss when resuming changefeed during DDL is executed [#7682](https://github.com/pingcap/tiflow/issues/7682) @[asddongmen](https://github.com/asddongmen) + TiDB Binlog @@ -101,12 +101,12 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- + TiDB Data Migration (DM) - + - (dup) Fix the issue that when `collation_compatible` is set to `"strict"`, DM might generate SQL with duplicated collations [#6832](https://github.com/pingcap/tiflow/issues/6832) @[lance6716](https://github.com/lance6716) - - Fix sometime DM task is stopped with error "Unknown placement policy" [#7493](https://github.com/pingcap/tiflow/issues/7493) @[lance6716](https://github.com/lance6716) - - Fix in some cases relay log file may re-pull from upstream [#7719](https://github.com/pingcap/tiflow/pull/7719) @[liumengya94](https://github.com/liumengya94) - - Fix when DM worker exits a new worker may be scheduled too quickly and write duplicated data [#7745](https://github.com/pingcap/tiflow/pull/7745) @[GMHDBJD](https://github.com/GMHDBJD) + - Fix the issue that DM tasks might stop with an `Unknown placement policy` error [#7493](https://github.com/pingcap/tiflow/issues/7493) @[lance6716](https://github.com/lance6716) + - Fix the issue that relay logs might be pulled from upstream again in some cases [#7525](https://github.com/pingcap/tiflow/issues/7525) @[liumengya94](https://github.com/liumengya94) + - Fix the issue that data is replicated for multiple times when a new DM worker is scheduled before the existing worker exits [#7658](https://github.com/pingcap/tiflow/issues/7658) @[GMHDBJD](https://github.com/GMHDBJD) + TiDB Lightning From e835941eec85e23f62950c0823f946ecd7d61319 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 2 Dec 2022 11:12:34 +0800 Subject: [PATCH 15/27] Apply suggestions from code review --- releases/release-6.1.3.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 160e285948b16..832e93a3c6a4d 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -16,7 +16,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - - Optimize the lock granularity and improve the processing ability of heartbeat under high concurrency [#5586](https://github.com/tikv/pd/issues/5586) @[rleungx](https://github.com/rleungx) + - Optimize the granularity of locks to reduce lock contention and improve the capability of processing heartbeat in high concurrency [#5586](https://github.com/tikv/pd/issues/5586) @[rleungx](https://github.com/rleungx) - Tools @@ -24,8 +24,8 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - - Enable transaction split and disable safeMode of a changefeed in TiCDC by defult [#7505](https://github.com/pingcap/tiflow/issues/7505) @[asddongmen](https://github.com/asddongmen) - - Improve kakfa protocol encoder performance [#7540](https://github.com/pingcap/tiflow/issues/7540), [#7532](https://github.com/pingcap/tiflow/issues/7532), [#7543](https://github.com/pingcap/tiflow/issues/7543) @[sdojjy](https://github.com/sdojjy) @[3AceShowHand](https://github.com/3AceShowHand) + - Enable transaction split and disable the safe mode of a changefeed in TiCDC by default to improve performance [#7505](https://github.com/pingcap/tiflow/issues/7505) @[asddongmen](https://github.com/asddongmen) + - Improve the performance of Kafka protocol encoder [#7540](https://github.com/pingcap/tiflow/issues/7540), [#7532](https://github.com/pingcap/tiflow/issues/7532), [#7543](https://github.com/pingcap/tiflow/issues/7543) @[sdojjy](https://github.com/sdojjy) @[3AceShowHand](https://github.com/3AceShowHand) ## Bug fixes From 4a8df97c35469606fcca3828056681202b30701d Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 2 Dec 2022 11:14:13 +0800 Subject: [PATCH 16/27] Apply suggestions from code review --- releases/release-6.1.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 832e93a3c6a4d..c8277166631fc 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -74,7 +74,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - - Fix the issue that heavy write pressure could generate too many column files in delta layer. [#6361](https://github.com/pingcap/tiflash/issues/6361) @[lidezhu](https://github.com/lidezhu) + - Fix the issue that heavy write pressure might generate too many column files in the delta layer [#6361](https://github.com/pingcap/tiflash/issues/6361) @[lidezhu](https://github.com/lidezhu) - Fix the issue that column files in delta layer cannot be compacted after restart tiflash [#6159](https://github.com/pingcap/tiflash/issues/6159) @[lidezhu](https://github.com/lidezhu) + Tools From 9dcd68d840afba2ac65f33132e546ae07bf31b02 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 2 Dec 2022 11:14:21 +0800 Subject: [PATCH 17/27] Update releases/release-6.1.3.md --- releases/release-6.1.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index c8277166631fc..7b44542ebfddd 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -75,7 +75,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - Fix the issue that heavy write pressure might generate too many column files in the delta layer [#6361](https://github.com/pingcap/tiflash/issues/6361) @[lidezhu](https://github.com/lidezhu) - - Fix the issue that column files in delta layer cannot be compacted after restart tiflash [#6159](https://github.com/pingcap/tiflash/issues/6159) @[lidezhu](https://github.com/lidezhu) + - Fix the issue that column files in the delta layer cannot be compacted after restarting TiFlash [#6159](https://github.com/pingcap/tiflash/issues/6159) @[lidezhu](https://github.com/lidezhu) + Tools From 8dcf6ad75e6e2660cf4317ae8ac3d74197457cce Mon Sep 17 00:00:00 2001 From: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> Date: Fri, 2 Dec 2022 11:39:01 +0800 Subject: [PATCH 18/27] Apply suggestions from code review Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> --- releases/release-6.1.3.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 7b44542ebfddd..3c2c20dbc2c13 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -35,10 +35,10 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - (dup) Fix the issue that the `grantor` field is missing in the `mysql.tables_priv` table [#38293](https://github.com/pingcap/tidb/issues/38293) @[CbcWestwolf](https://github.com/CbcWestwolf) - (dup) Fix the issue of the wrong query result that occurs when the mistakenly pushed-down conditions are discarded by Join Reorder [#38736](https://github.com/pingcap/tidb/issues/38736) @[winoros](https://github.com/winoros) - - Fix the issue that `get_lock()` cannot hold for more than 10 minutes [#38706](https://github.com/pingcap/tidb/issues/38706) @[tangenta](https://github.com/tangenta) + - Fix the issue that the lock acquired by `get_lock()` cannot hold for more than 10 minutes [#38706](https://github.com/pingcap/tidb/issues/38706) @[tangenta](https://github.com/tangenta) - Fix the issue that the auto-increment column cannot be used with check constraint [#38894](https://github.com/pingcap/tidb/issues/38894) @[YangKeao](https://github.com/YangKeao) - Fix the issue that the gPRC log is output to a wrong file [#38941](https://github.com/pingcap/tidb/issues/38941) @[xhebox](https://github.com/xhebox) - - Fix the issue that TiFlash sync status is nor removed from etcd when a table is truncated or dropped [#37168](https://github.com/pingcap/tidb/issues/37168) @[CalvinNeo](https://github.com/CalvinNeo) + - Fix the issue that the TiFlash sync status of a table is not deleted from etcd when the table is truncated or dropped [#37168](https://github.com/pingcap/tidb/issues/37168) @[CalvinNeo](https://github.com/CalvinNeo) - Fix the issue that data files can be accessed unrestrainedly via data source name injection (CVE-2022-3023) [#38541](https://github.com/pingcap/tidb/issues/38541) @[lance6716](https://github.com/lance6716) From 86c5d5b9e0f4acd332b5a7c3e1876ab6bb77d695 Mon Sep 17 00:00:00 2001 From: shichun-0415 Date: Fri, 2 Dec 2022 11:47:17 +0800 Subject: [PATCH 19/27] Add go info --- releases/release-6.1.3.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 3c2c20dbc2c13..9fee3c3150473 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -27,6 +27,10 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - Enable transaction split and disable the safe mode of a changefeed in TiCDC by default to improve performance [#7505](https://github.com/pingcap/tiflow/issues/7505) @[asddongmen](https://github.com/asddongmen) - Improve the performance of Kafka protocol encoder [#7540](https://github.com/pingcap/tiflow/issues/7540), [#7532](https://github.com/pingcap/tiflow/issues/7532), [#7543](https://github.com/pingcap/tiflow/issues/7543) @[sdojjy](https://github.com/sdojjy) @[3AceShowHand](https://github.com/3AceShowHand) +- Others + + - Upgrade the Go compiler version of TiDB from gox.x.x to go1.9, which improves the TiDB performance. - - Fix the issue that restore task fails when using old framework for collations in databases or tables [#39150](https://github.com/pingcap/tidb/issues/39150) @[MoCuishle28](https://github.com/MoCuishle28) + - Fix the issue that restore tasks fail when using old framework for collations in databases or tables [#39150](https://github.com/pingcap/tidb/issues/39150) @[MoCuishle28](https://github.com/MoCuishle28) + Dumpling @@ -97,7 +97,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - - Fix data loss when resuming changefeed during DDL is executed [#7682](https://github.com/pingcap/tiflow/issues/7682) @[asddongmen](https://github.com/asddongmen) + - Fix data loss occurred in the scenario of executing DDL statements first and then pausing and resuming the changefeed [#7682](https://github.com/pingcap/tiflow/issues/7682) @[asddongmen](https://github.com/asddongmen) + TiDB Binlog From 71d542e101f63935dcdd5c5f881e02c14a1f6720 Mon Sep 17 00:00:00 2001 From: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> Date: Fri, 2 Dec 2022 13:38:45 +0800 Subject: [PATCH 21/27] Apply suggestions from code review Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> --- releases/release-6.1.3.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 5f4e6bd19b8fd..891ca1a2ad605 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -47,11 +47,11 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - - Fix the issue that function `str_to_date` returns wrong result under the `NO_ZERO_DATE` SQL Mode [#39146](https://github.com/pingcap/tidb/issues/39146) @[mengxin9014](https://github.com/mengxin9014) + - Fix the issue that the function `str_to_date` returns wrong result in the `NO_ZERO_DATE` SQL mode [#39146](https://github.com/pingcap/tidb/issues/39146) @[mengxin9014](https://github.com/mengxin9014) - - Fix the issue that statistics collecting tasks in the background might panic [#35421](https://github.com/pingcap/tidb/issues/35421) @[lilinghai](https://github.com/lilinghai) + - Fix the issue that statistics collection tasks in the background might panic [#35421](https://github.com/pingcap/tidb/issues/35421) @[lilinghai](https://github.com/lilinghai) From 8b312b39fb6a5361ba84a96da537a34f497f654d Mon Sep 17 00:00:00 2001 From: shichun-0415 Date: Mon, 5 Dec 2022 10:53:20 +0800 Subject: [PATCH 22/27] add OOM link and finalize the RN --- releases/release-6.1.3.md | 62 ++++++------------------------------ releases/release-notes.md | 2 +- releases/release-timeline.md | 2 +- 3 files changed, 12 insertions(+), 54 deletions(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 891ca1a2ad605..83fa06bf771e3 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -4,7 +4,7 @@ title: TiDB 6.1.3 Release Notes # TiDB 6.1.3 Release Notes -Release date: xx, xx, 2022 +Release date: December 5, 2022 TiDB version: 6.1.3 @@ -14,70 +14,46 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - PD - - - Optimize the granularity of locks to reduce lock contention and improve the capability of processing heartbeat in high concurrency [#5586](https://github.com/tikv/pd/issues/5586) @[rleungx](https://github.com/rleungx) - Tools - TiCDC - - - Enable transaction split and disable the safe mode of a changefeed in TiCDC by default to improve performance [#7505](https://github.com/pingcap/tiflow/issues/7505) @[asddongmen](https://github.com/asddongmen) - Improve the performance of Kafka protocol encoder [#7540](https://github.com/pingcap/tiflow/issues/7540), [#7532](https://github.com/pingcap/tiflow/issues/7532), [#7543](https://github.com/pingcap/tiflow/issues/7543) @[sdojjy](https://github.com/sdojjy) @[3AceShowHand](https://github.com/3AceShowHand) - Others - - Upgrade the Go compiler version of TiDB from gox.x.x to go1.9, which improves the TiDB performance. - - - (dup) Fix the issue that the `grantor` field is missing in the `mysql.tables_priv` table [#38293](https://github.com/pingcap/tidb/issues/38293) @[CbcWestwolf](https://github.com/CbcWestwolf) - - (dup) Fix the issue of the wrong query result that occurs when the mistakenly pushed-down conditions are discarded by Join Reorder [#38736](https://github.com/pingcap/tidb/issues/38736) @[winoros](https://github.com/winoros) + - Fix the issue that the `grantor` field is missing in the `mysql.tables_priv` table [#38293](https://github.com/pingcap/tidb/issues/38293) @[CbcWestwolf](https://github.com/CbcWestwolf) + - Fix the issue of the wrong query result that occurs when the mistakenly pushed-down conditions are discarded by Join Reorder [#38736](https://github.com/pingcap/tidb/issues/38736) @[winoros](https://github.com/winoros) - Fix the issue that the lock acquired by `get_lock()` cannot hold for more than 10 minutes [#38706](https://github.com/pingcap/tidb/issues/38706) @[tangenta](https://github.com/tangenta) - Fix the issue that the auto-increment column cannot be used with check constraint [#38894](https://github.com/pingcap/tidb/issues/38894) @[YangKeao](https://github.com/YangKeao) - Fix the issue that the gPRC log is output to a wrong file [#38941](https://github.com/pingcap/tidb/issues/38941) @[xhebox](https://github.com/xhebox) - Fix the issue that the TiFlash sync status of a table is not deleted from etcd when the table is truncated or dropped [#37168](https://github.com/pingcap/tidb/issues/37168) @[CalvinNeo](https://github.com/CalvinNeo) - Fix the issue that data files can be accessed unrestrainedly via data source name injection (CVE-2022-3023) [#38541](https://github.com/pingcap/tidb/issues/38541) @[lance6716](https://github.com/lance6716) - - - - Fix the issue that the function `str_to_date` returns wrong result in the `NO_ZERO_DATE` SQL mode [#39146](https://github.com/pingcap/tidb/issues/39146) @[mengxin9014](https://github.com/mengxin9014) - - - - Fix the issue that statistics collection tasks in the background might panic [#35421](https://github.com/pingcap/tidb/issues/35421) @[lilinghai](https://github.com/lilinghai) - - - - - (dup) Fix the issue that in some scenarios the pessimistic lock is incorrectly added to the non-unique secondary index [#36235](https://github.com/pingcap/tidb/issues/36235) @[ekexium](https://github.com/ekexium) + - Fix the issue that in some scenarios the pessimistic lock is incorrectly added to the non-unique secondary index [#36235](https://github.com/pingcap/tidb/issues/36235) @[ekexium](https://github.com/ekexium) - PD - - - - (dup) Fix inaccurate Stream timeout and accelerate leader switchover [#5207](https://github.com/tikv/pd/issues/5207) @[CabinfeverB](https://github.com/CabinfeverB) + - Fix inaccurate Stream timeout and accelerate leader switchover [#5207](https://github.com/tikv/pd/issues/5207) @[CabinfeverB](https://github.com/CabinfeverB) + TiKV - - - - (dup) Fix abnormal Region competition caused by expired lease during snapshot acquisition [#13553](https://github.com/tikv/tikv/issues/13553) @[SpadeA-Tang](https://github.com/SpadeA-Tang) + - Fix abnormal Region competition caused by expired lease during snapshot acquisition [#13553](https://github.com/tikv/tikv/issues/13553) @[SpadeA-Tang](https://github.com/SpadeA-Tang) + TiFlash - - - - (dup) Fix the issue that logical operators return wrong results when the argument type is UInt8 [#6127](https://github.com/pingcap/tiflash/issues/6127) - - (dup) Fix the issue that wrong data input for `CAST(value AS DATETIME)` causing high TiFlash sys CPU [#5097](https://github.com/pingcap/tiflash/issues/5097) @[xzhangxian1008](https://github.com/xzhangxian1008) - - - + - Fix the issue that logical operators return wrong results when the argument type is UInt8 [#6127](https://github.com/pingcap/tiflash/issues/6127) + - Fix the issue that wrong data input for `CAST(value AS DATETIME)` causing high TiFlash sys CPU [#5097](https://github.com/pingcap/tiflash/issues/5097) @[xzhangxian1008](https://github.com/xzhangxian1008) - Fix the issue that heavy write pressure might generate too many column files in the delta layer [#6361](https://github.com/pingcap/tiflash/issues/6361) @[lidezhu](https://github.com/lidezhu) - Fix the issue that column files in the delta layer cannot be compacted after restarting TiFlash [#6159](https://github.com/pingcap/tiflash/issues/6159) @[lidezhu](https://github.com/lidezhu) @@ -85,33 +61,15 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- + Backup & Restore (BR) - - - Fix the issue that restore tasks fail when using old framework for collations in databases or tables [#39150](https://github.com/pingcap/tidb/issues/39150) @[MoCuishle28](https://github.com/MoCuishle28) - + Dumpling - - - + TiCDC - - - Fix data loss occurred in the scenario of executing DDL statements first and then pausing and resuming the changefeed [#7682](https://github.com/pingcap/tiflow/issues/7682) @[asddongmen](https://github.com/asddongmen) - + TiDB Binlog - - - + TiDB Data Migration (DM) - - - - (dup) Fix the issue that when `collation_compatible` is set to `"strict"`, DM might generate SQL with duplicated collations [#6832](https://github.com/pingcap/tiflow/issues/6832) @[lance6716](https://github.com/lance6716) + - Fix the issue that when `collation_compatible` is set to `"strict"`, DM might generate SQL with duplicated collations [#6832](https://github.com/pingcap/tiflow/issues/6832) @[lance6716](https://github.com/lance6716) - Fix the issue that DM tasks might stop with an `Unknown placement policy` error [#7493](https://github.com/pingcap/tiflow/issues/7493) @[lance6716](https://github.com/lance6716) - Fix the issue that relay logs might be pulled from upstream again in some cases [#7525](https://github.com/pingcap/tiflow/issues/7525) @[liumengya94](https://github.com/liumengya94) - Fix the issue that data is replicated for multiple times when a new DM worker is scheduled before the existing worker exits [#7658](https://github.com/pingcap/tiflow/issues/7658) @[GMHDBJD](https://github.com/GMHDBJD) - - + TiDB Lightning - - diff --git a/releases/release-notes.md b/releases/release-notes.md index 3228734d5e557..fa141f9fda630 100644 --- a/releases/release-notes.md +++ b/releases/release-notes.md @@ -19,7 +19,7 @@ aliases: ['/docs/dev/releases/release-notes/','/docs/dev/releases/rn/'] ## 6.1 -- [6.1.3](/releases/release-6.1.3.md): 2022-xx-xx +- [6.1.3](/releases/release-6.1.3.md): 2022-12-05 - [6.1.2](/releases/release-6.1.2.md): 2022-10-24 - [6.1.1](/releases/release-6.1.1.md): 2022-09-01 - [6.1.0](/releases/release-6.1.0.md): 2022-06-13 diff --git a/releases/release-timeline.md b/releases/release-timeline.md index 54855e8edc6a8..424918da156b9 100644 --- a/releases/release-timeline.md +++ b/releases/release-timeline.md @@ -9,7 +9,7 @@ This document shows all the released TiDB versions in reverse chronological orde | Version | Release Date | | :--- | :--- | -| [6.1.3](/releases/release-6.1.3.md) | 2022-xx-xx | +| [6.1.3](/releases/release-6.1.3.md) | 2022-12-05 | | [5.3.4](/releases/release-5.3.4.md) | 2022-11-24 | | [6.4.0-DMR](/releases/release-6.4.0.md) | 2022-11-17 | | [6.1.2](/releases/release-6.1.2.md) | 2022-10-24 | From a5b71102674ec140cd03602a41cef1bd501bd611 Mon Sep 17 00:00:00 2001 From: shichun-0415 Date: Mon, 5 Dec 2022 11:10:53 +0800 Subject: [PATCH 23/27] add a link to go 1.19 --- releases/release-6.1.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 83fa06bf771e3..c10e7239fd936 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -25,7 +25,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - Others - - Upgrade the Go compiler version of TiDB from go1.18 to go1.19, which improves the TiDB stability. Specifically, a system variable `GOMEMLIMIT` is introduced to keep the memory usage of TiDB below a certain threshold. This helps mitigate most OOM issues. For more information, see [Mitigate OOM issues by configuring the `GOMEMLIMIT`](/configure-memory-usage.md#mitigate-oom-issues-by-configuring-the-gomemlimit). + - Upgrade the Go compiler version of TiDB from go1.18 to [go1.19](https://go.dev/blog/go1.19), which improves the TiDB stability. Specifically, a system variable `GOMEMLIMIT` is introduced to keep the memory usage of TiDB below a certain threshold. This helps mitigate most OOM issues. For more information, see [Mitigate OOM issues by configuring the `GOMEMLIMIT`](/configure-memory-usage.md#mitigate-oom-issues-by-configuring-the-gomemlimit). ## Bug fixes From a5011da32c9e952846d795aad1289e9f04e750cd Mon Sep 17 00:00:00 2001 From: shichun-0415 Date: Mon, 5 Dec 2022 11:17:12 +0800 Subject: [PATCH 24/27] add go 1.19 RN link --- releases/release-6.1.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index c10e7239fd936..114f70f45a3c1 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -25,7 +25,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - Others - - Upgrade the Go compiler version of TiDB from go1.18 to [go1.19](https://go.dev/blog/go1.19), which improves the TiDB stability. Specifically, a system variable `GOMEMLIMIT` is introduced to keep the memory usage of TiDB below a certain threshold. This helps mitigate most OOM issues. For more information, see [Mitigate OOM issues by configuring the `GOMEMLIMIT`](/configure-memory-usage.md#mitigate-oom-issues-by-configuring-the-gomemlimit). + - Upgrade the Go compiler version of TiDB from go1.18 to [go1.19](https://go.dev/doc/go1.19), which improves the TiDB stability. Specifically, a system variable `GOMEMLIMIT` is introduced to keep the memory usage of TiDB below a certain threshold. This helps mitigate most OOM issues. For more information, see [Mitigate OOM issues by configuring the `GOMEMLIMIT`](/configure-memory-usage.md#mitigate-oom-issues-by-configuring-the-gomemlimit). ## Bug fixes From 118cb0bfc2c02da0cbbb7bfc3d77bd8a9a8a7276 Mon Sep 17 00:00:00 2001 From: shichun-0415 Date: Mon, 5 Dec 2022 11:25:26 +0800 Subject: [PATCH 25/27] add variable link --- releases/release-6.1.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 114f70f45a3c1..142873457aedd 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -25,7 +25,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - Others - - Upgrade the Go compiler version of TiDB from go1.18 to [go1.19](https://go.dev/doc/go1.19), which improves the TiDB stability. Specifically, a system variable `GOMEMLIMIT` is introduced to keep the memory usage of TiDB below a certain threshold. This helps mitigate most OOM issues. For more information, see [Mitigate OOM issues by configuring the `GOMEMLIMIT`](/configure-memory-usage.md#mitigate-oom-issues-by-configuring-the-gomemlimit). + - Upgrade the Go compiler version of TiDB from go1.18 to [go1.19](https://go.dev/doc/go1.19), which improves the TiDB stability. Specifically, a Go system variable [`GOMEMLIMIT`](https://pkg.go.dev/runtime@go1.19#hdr-Environment_Variables) is introduced to keep the memory usage of TiDB below a certain threshold. This helps mitigate most OOM issues. For more information, see [Mitigate OOM issues by configuring the `GOMEMLIMIT`](/configure-memory-usage.md#mitigate-oom-issues-by-configuring-the-gomemlimit). ## Bug fixes From 8a261c31fd5ac9bf84a894f040f663fd486e5931 Mon Sep 17 00:00:00 2001 From: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> Date: Mon, 5 Dec 2022 11:40:42 +0800 Subject: [PATCH 26/27] Apply suggestions from code review Co-authored-by: Aolin --- releases/release-6.1.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 142873457aedd..431420a769b2a 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -25,7 +25,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - Others - - Upgrade the Go compiler version of TiDB from go1.18 to [go1.19](https://go.dev/doc/go1.19), which improves the TiDB stability. Specifically, a Go system variable [`GOMEMLIMIT`](https://pkg.go.dev/runtime@go1.19#hdr-Environment_Variables) is introduced to keep the memory usage of TiDB below a certain threshold. This helps mitigate most OOM issues. For more information, see [Mitigate OOM issues by configuring the `GOMEMLIMIT`](/configure-memory-usage.md#mitigate-oom-issues-by-configuring-the-gomemlimit). + - Upgrade the Go compiler version of TiDB from go1.18 to [go1.19](https://go.dev/doc/go1.19), which improves the TiDB stability. Specifically, a Go environment variable [`GOMEMLIMIT`](https://pkg.go.dev/runtime@go1.19#hdr-Environment_Variables) is introduced to keep the memory usage of TiDB below a certain threshold. This helps mitigate most OOM issues. For more information, see [Mitigate OOM issues by configuring the `GOMEMLIMIT`](/configure-memory-usage.md#mitigate-oom-issues-by-configuring-the-gomemlimit). ## Bug fixes From a4f41798c6ec2e3eb71d7b96c24d95f2c57f9729 Mon Sep 17 00:00:00 2001 From: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> Date: Mon, 5 Dec 2022 14:05:34 +0800 Subject: [PATCH 27/27] Apply suggestions from code review Co-authored-by: ruoxi --- releases/release-6.1.3.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md index 431420a769b2a..7fac94c449898 100644 --- a/releases/release-6.1.3.md +++ b/releases/release-6.1.3.md @@ -25,7 +25,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- - Others - - Upgrade the Go compiler version of TiDB from go1.18 to [go1.19](https://go.dev/doc/go1.19), which improves the TiDB stability. Specifically, a Go environment variable [`GOMEMLIMIT`](https://pkg.go.dev/runtime@go1.19#hdr-Environment_Variables) is introduced to keep the memory usage of TiDB below a certain threshold. This helps mitigate most OOM issues. For more information, see [Mitigate OOM issues by configuring the `GOMEMLIMIT`](/configure-memory-usage.md#mitigate-oom-issues-by-configuring-the-gomemlimit). + - Upgrade the Go compiler version of TiDB from go1.18 to [go1.19](https://go.dev/doc/go1.19), which improves the TiDB stability. Specifically, a Go environment variable [`GOMEMLIMIT`](https://pkg.go.dev/runtime@go1.19#hdr-Environment_Variables) is introduced to keep the memory usage of TiDB below a certain threshold. This helps mitigate most OOM issues. For more information, see [Mitigate OOM issues by configuring the `GOMEMLIMIT`](/configure-memory-usage.md#mitigate-oom-issues-by-configuring-gomemlimit). ## Bug fixes @@ -52,7 +52,7 @@ Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with- + TiFlash - - Fix the issue that logical operators return wrong results when the argument type is UInt8 [#6127](https://github.com/pingcap/tiflash/issues/6127) + - Fix the issue that logical operators return wrong results when the argument type is `UInt8` [#6127](https://github.com/pingcap/tiflash/issues/6127) @[xzhangxian1008](https://github.com/xzhangxian1008) - Fix the issue that wrong data input for `CAST(value AS DATETIME)` causing high TiFlash sys CPU [#5097](https://github.com/pingcap/tiflash/issues/5097) @[xzhangxian1008](https://github.com/xzhangxian1008) - Fix the issue that heavy write pressure might generate too many column files in the delta layer [#6361](https://github.com/pingcap/tiflash/issues/6361) @[lidezhu](https://github.com/lidezhu) - Fix the issue that column files in the delta layer cannot be compacted after restarting TiFlash [#6159](https://github.com/pingcap/tiflash/issues/6159) @[lidezhu](https://github.com/lidezhu)