From 01e710e654085a074cbb4b380638a9fe4e7be0b9 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 3a268b4dd2b37..921dde75164ca 100644 --- a/TOC.md +++ b/TOC.md @@ -898,6 +898,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 29557bd8bf6f0..e451bc2dff7ce 100644 --- a/releases/release-notes.md +++ b/releases/release-notes.md @@ -10,6 +10,7 @@ title: Release Notes ## 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 ead0af0dd9ec4..ffd70bb658cb7 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.1.2](/releases/release-6.1.2.md) | 2022-10-24 | | [5.4.3](/releases/release-5.4.3.md) | 2022-10-13 | From e036bc75cec9a156943dc3ca2cd5bfc633bf8bf7 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 4821ad77522b898818ac7ec967d6f31cf4fc4d39 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 8684eee086c2ae8d33294566f4ba05a38644567a 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 fc61c17f7c2134d1dcb26e8bb59d39e370744d57 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 bf8f17c5502e8387ff602287435e0018674c8b75 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 e201de134bfd0ba0583ed7d55815c15ac4140e9b 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 c9b9c3f7757950d4938c7ea72f346b1af24e1ff8 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 b932efec2e608c95da6d8eb8a93ce6a1e0595c2b 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 ab0571e2d63c4fbd1aafdabb3a0280de552fa27f 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 dbd673dc61639b0a8ee6ff2989f115c33cd5f014 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 42ece7c99498ccced6dcf051f703ca359d2dffdd 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 5195f506a19f0f14efa2c3faac007ec0653c749a 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 7febecb945c2525043db2cb40b4dea2f3b423ce7 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 8ddfb039ebf8d8bd980a1732b3c2bc7e4639d093 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 4bf85e5492609b7a66c3c79fb908c0d00b56e1b8 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 89ebd6bb62f171e40fc1b007067d347b059f8f16 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 27b1e2836c0c7a5312c0aee2e59da74062f65cb9 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 6aa55084b9f567f094d0af6bf553f6d572e3c2bb 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 a0b6b4d36480d4edfdb9d75fb0f9b7c1104d98c6 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 e127dcd2f91e484a2e6001d52c7afaba6c626a27 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 e451bc2dff7ce..a3262d961049d 100644 --- a/releases/release-notes.md +++ b/releases/release-notes.md @@ -10,7 +10,7 @@ title: Release Notes ## 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 ffd70bb658cb7..5647c937e283c 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.1.2](/releases/release-6.1.2.md) | 2022-10-24 | | [5.4.3](/releases/release-5.4.3.md) | 2022-10-13 | From 73c6c79fd6ed433206131ca7fee3a4055757fb66 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 cb8e87bcdb02ebe9e6d9576ea493db3de34f7830 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 bbedc0491a357b330c676e540aacf0ae1fecced8 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 a31deeda24bcff74fd3a854765418b0ccdb039ee 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 c28768e62570c89b51f36d7dfbe7a956e1e674da 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)