From 81a8790670ed018d0a6a7bbbdfbe0d8e654ceb3c Mon Sep 17 00:00:00 2001 From: ti-srebot Date: Mon, 19 Apr 2021 16:56:06 +0800 Subject: [PATCH 01/19] update v5.0.1 release notes at 2021-04-19T16:56:06 Signed-off-by: ti-srebot --- releases/5.0.1.md | 82 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 releases/5.0.1.md diff --git a/releases/5.0.1.md b/releases/5.0.1.md new file mode 100644 index 0000000000000..28c1e66494cba --- /dev/null +++ b/releases/5.0.1.md @@ -0,0 +1,82 @@ +--- +title: tidb v5.0.1 Release Notes +category: Releases +aliases: ['/docs/dev/releases/v5.0.1/'] +--- + +# tidb v5.0.1 Release Notes + +Release date: April 19, 2021 + +TiDB version: v5.0.1 + +## Bug Fixes + ++ TiDB + + - Donot prune all columns for Projection [#24093](https://github.com/pingcap/tidb/pull/24093) + - Fix wrong query result when column contains null values [#24063](https://github.com/pingcap/tidb/pull/24063) + - Do not build MPP plan for scan with virtual columns [#24058](https://github.com/pingcap/tidb/pull/24058) + - Fix wrong PointGet / TableDual plan reused in plan cache [#24043](https://github.com/pingcap/tidb/pull/24043) + - Append common handle columns into the schema of index merge table plan [#24042](https://github.com/pingcap/tidb/pull/24042) + - Fix type merge about bit type. [#24027](https://github.com/pingcap/tidb/pull/24027) + - Planner: fix wrong TableDual plans caused by comparing Binary and Bytes incorrectly [#23918](https://github.com/pingcap/tidb/pull/23918) + - Planner: fix the issue that planner hints don't work in some batch/point-get plans [#23685](https://github.com/pingcap/tidb/pull/23685) + ++ TiFlash + + - Fix a potential issue that the DeleteRange in the storage engine failed to remove some data. [#1790](https://github.com/pingcap/tics/pull/1790) + - Fix problem that TiFlash coprocessor's cast time as int function may produce incorrect result. [#1786](https://github.com/pingcap/tics/pull/1786) + - Fix the bug that receiver cannot find tasks within 10s. [#1784](https://github.com/pingcap/tics/pull/1784) + - Fix potential invalid iterator in cancelMPPQuery [#1777](https://github.com/pingcap/tics/pull/1777) + - Fix problem that behavior of TiFlash coprocessor's bitwise operator is different from TiDB [#1774](https://github.com/pingcap/tics/pull/1774) + - Fix false alert of overlapped ranges if prefix next key is used [#1771](https://github.com/pingcap/tics/pull/1771) + - Fix the problem that TiFlash coprocessor's cast string as int function may produce incorrect result. [#1768](https://github.com/pingcap/tics/pull/1768) + - Fix the issue that continuous and fast writing may make TiFlash OOM [#1739](https://github.com/pingcap/tics/pull/1739) + - Fix bug that duplicated column name will make TiFlash throw error. [#1732](https://github.com/pingcap/tics/pull/1732) + - Support complex query plan tree with a max depth of 100. [#1722](https://github.com/pingcap/tics/pull/1722) + - Fix potential NPE in schema sync service when database is dropped between GC and getting the database info. [#1708](https://github.com/pingcap/tics/pull/1708) + - Fix the crash that causes by applying Raft commands to dropped tables [#1702](https://github.com/pingcap/tics/pull/1702) + - Fix the issue that TiFlash may panic during br restore [#1698](https://github.com/pingcap/tics/pull/1698) + +## Others + ++ TiDB + + - Ddl: fix the covert job to rollingback job [#24080](https://github.com/pingcap/tidb/pull/24080) + - `Fix performance regression of point select.` [#24070](https://github.com/pingcap/tidb/pull/24070) + - Fix range building for binary literal [#24041](https://github.com/pingcap/tidb/pull/24041) + - Fix wrong results for in clause. [#24023](https://github.com/pingcap/tidb/pull/24023) + - Users now need both Insert and Delete privileges on a table to perform REPLACE. [#23939](https://github.com/pingcap/tidb/pull/23939) + - Fix some string function get wrong result [#23879](https://github.com/pingcap/tidb/pull/23879) + ++ TiKV + + - Fix IN expr(coprocessor) didn't handle unsigned/signed int properly [#10018](https://github.com/tikv/tikv/pull/10018) + - Fix the issue that there are lots of empty regions after batch ingest. [#10015](https://github.com/tikv/tikv/pull/10015) + - Use `zstd` to compress the snapshot [#10005](https://github.com/tikv/tikv/pull/10005) + - Fix potential panics when input of cast_string_as_time is invalid UTF-8 bytes [#9995](https://github.com/tikv/tikv/pull/9995) + - Fix the bug that TiKV cannot startup when the end of file dict file is damaged. [#9992](https://github.com/tikv/tikv/pull/9992) + ++ PD + + - Modify score calculator to satisfy isomerous stores [#3605](https://github.com/pingcap/pd/pull/3605) + - Avoid unexpected statistic modify after adding scatter region scheduler [#3602](https://github.com/pingcap/pd/pull/3602) + ++ Tools + + - BR + + * BR now can tolerate minor TiKV disconnection. [#1019](https://github.com/pingcap/br/pull/1019) + * Summary now become more clear. [#1009](https://github.com/pingcap/br/pull/1009) + + - TiCDC + + * Fix Unified Sorter returning unhelpful error messages & other misc. fixes. [#1678](https://github.com/pingcap/ticdc/pull/1678) + * S3Sink: cancel create existing table directory on s3 when initialize s3Sink to avoid uploading objects faild [#1672](https://github.com/pingcap/ticdc/pull/1672) + * Fix text type decode for old row format [#1669](https://github.com/pingcap/ticdc/pull/1669) + * No release note (this bug is never released) [#1667](https://github.com/pingcap/ticdc/pull/1667) + * Set session variable `explicit_defaults_for_timestamp` to `ON` to make downstream MySQL5.7 keeps the same behavior with upstream TiDB. [#1659](https://github.com/pingcap/ticdc/pull/1659) + * Fix the error handling for io.EOF may cause replication interuption. [#1648](https://github.com/pingcap/ticdc/pull/1648) + * Correct TiKV CDC endpoint CPU metric in TiCDC dashboard. [#1645](https://github.com/pingcap/ticdc/pull/1645) + * S3 sink: increase the defaultBufferChanSize of logSink to avoid blocking [#1632](https://github.com/pingcap/ticdc/pull/1632) From d759a97a192986da1351b92d3fc4cb502cd4ff5f Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Mon, 19 Apr 2021 17:05:23 +0800 Subject: [PATCH 02/19] toc --- TOC.md | 1 + releases/{5.0.1.md => release-5.0.1.md} | 20 ++++++++++++-------- releases/release-notes.md | 1 + 3 files changed, 14 insertions(+), 8 deletions(-) rename releases/{5.0.1.md => release-5.0.1.md} (90%) diff --git a/TOC.md b/TOC.md index bce6ef5a3dbdb..79dc4f1e59825 100644 --- a/TOC.md +++ b/TOC.md @@ -537,6 +537,7 @@ + [All Releases](/releases/release-notes.md) + [TiDB Roadmap](/roadmap.md) + v5.0 + + [5.0.1](/releases/release-5.0.1.md) + [5.0 GA](/releases/release-5.0.0.md) + [5.0.0-rc](/releases/release-5.0.0-rc.md) + v4.0 diff --git a/releases/5.0.1.md b/releases/release-5.0.1.md similarity index 90% rename from releases/5.0.1.md rename to releases/release-5.0.1.md index 28c1e66494cba..228b6c1c7d9ae 100644 --- a/releases/5.0.1.md +++ b/releases/release-5.0.1.md @@ -1,20 +1,24 @@ --- -title: tidb v5.0.1 Release Notes -category: Releases -aliases: ['/docs/dev/releases/v5.0.1/'] +title: TiDB 5.0.1 Release Notes --- -# tidb v5.0.1 Release Notes +# TiDB 5.0.1 Release Notes -Release date: April 19, 2021 +Release date: April 23, 2021 -TiDB version: v5.0.1 +TiDB version: 5.0.1 + +## Compatibility Changes + +## New Features + +## Improvements ## Bug Fixes + TiDB - - Donot prune all columns for Projection [#24093](https://github.com/pingcap/tidb/pull/24093) + - Do not prune all columns for Projection [#24093](https://github.com/pingcap/tidb/pull/24093) - Fix wrong query result when column contains null values [#24063](https://github.com/pingcap/tidb/pull/24063) - Do not build MPP plan for scan with virtual columns [#24058](https://github.com/pingcap/tidb/pull/24058) - Fix wrong PointGet / TableDual plan reused in plan cache [#24043](https://github.com/pingcap/tidb/pull/24043) @@ -39,7 +43,7 @@ TiDB version: v5.0.1 - Fix the crash that causes by applying Raft commands to dropped tables [#1702](https://github.com/pingcap/tics/pull/1702) - Fix the issue that TiFlash may panic during br restore [#1698](https://github.com/pingcap/tics/pull/1698) -## Others +## 下面是未分类的 notes。请对以下 notes 分为 [New Features](#new-features)、[Compatibility Changes](#compatibility-changes)、[Improvements](#improvements)、[Bug Fixes](#bug-fixes) 四类,并移动到上面对应的标题下面。如果 Notes 多余,请进行移除。 + TiDB diff --git a/releases/release-notes.md b/releases/release-notes.md index afdc0c35ce2f0..48da7b6612620 100644 --- a/releases/release-notes.md +++ b/releases/release-notes.md @@ -7,6 +7,7 @@ aliases: ['/docs/dev/releases/release-notes/','/docs/dev/releases/rn/'] ## 5.0 +- [5.0.1](/releases/release-5.0.1.md) - [5.0 GA](/releases/release-5.0.0.md) - [5.0.0-rc](/releases/release-5.0.0-rc.md) From 37aec7732b6488fc2dfc4f36636378a516d7bf10 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Tue, 20 Apr 2021 15:10:13 +0800 Subject: [PATCH 03/19] add tidb and tikv notes --- releases/release-5.0.1.md | 40 +++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/releases/release-5.0.1.md b/releases/release-5.0.1.md index 228b6c1c7d9ae..b032f037979c5 100644 --- a/releases/release-5.0.1.md +++ b/releases/release-5.0.1.md @@ -14,6 +14,10 @@ TiDB version: 5.0.1 ## Improvements ++ TiKV + + - Use `zstd` to compress the snapshot [#10005](https://github.com/tikv/tikv/pull/10005) + ## Bug Fixes + TiDB @@ -23,9 +27,22 @@ TiDB version: 5.0.1 - Do not build MPP plan for scan with virtual columns [#24058](https://github.com/pingcap/tidb/pull/24058) - Fix wrong PointGet / TableDual plan reused in plan cache [#24043](https://github.com/pingcap/tidb/pull/24043) - Append common handle columns into the schema of index merge table plan [#24042](https://github.com/pingcap/tidb/pull/24042) - - Fix type merge about bit type. [#24027](https://github.com/pingcap/tidb/pull/24027) - - Planner: fix wrong TableDual plans caused by comparing Binary and Bytes incorrectly [#23918](https://github.com/pingcap/tidb/pull/23918) - - Planner: fix the issue that planner hints don't work in some batch/point-get plans [#23685](https://github.com/pingcap/tidb/pull/23685) + - Fix the type merging about BIT type [#24027](https://github.com/pingcap/tidb/pull/24027) + - Fix wrong TableDual plans caused by comparing Binary and Bytes incorrectly [#23918](https://github.com/pingcap/tidb/pull/23918) + - Fix the issue that planner hints don't work in some batch/point-get plans [#23685](https://github.com/pingcap/tidb/pull/23685) + - Fix the cases that DDL would parse the args failed when converting job status to rolling back [#24080](https://github.com/pingcap/tidb/pull/24080) + - Fix range building for binary literal [#24041](https://github.com/pingcap/tidb/pull/24041) + - Fix wrong results for in clause [#24023](https://github.com/pingcap/tidb/pull/24023) + - Fix the wrong result of some string functions [#23879](https://github.com/pingcap/tidb/pull/23879) + - Users now need both INSERT and DELETE privileges on a table to perform REPLACE [#23939](https://github.com/pingcap/tidb/pull/23939) + - Fix performance regression of point select [#24070](https://github.com/pingcap/tidb/pull/24070) + ++ TiKV + + - Fix IN expr(coprocessor) didn't handle unsigned/signed int properly [#10018](https://github.com/tikv/tikv/pull/10018) + - Fix the issue that there are lots of empty regions after batch ingest. [#10015](https://github.com/tikv/tikv/pull/10015) + - Fix potential panics when input of cast_string_as_time is invalid UTF-8 bytes [#9995](https://github.com/tikv/tikv/pull/9995) + - Fix the bug that TiKV cannot startup when the end of file dict file is damaged. [#9992](https://github.com/tikv/tikv/pull/9992) + TiFlash @@ -45,23 +62,6 @@ TiDB version: 5.0.1 ## 下面是未分类的 notes。请对以下 notes 分为 [New Features](#new-features)、[Compatibility Changes](#compatibility-changes)、[Improvements](#improvements)、[Bug Fixes](#bug-fixes) 四类,并移动到上面对应的标题下面。如果 Notes 多余,请进行移除。 -+ TiDB - - - Ddl: fix the covert job to rollingback job [#24080](https://github.com/pingcap/tidb/pull/24080) - - `Fix performance regression of point select.` [#24070](https://github.com/pingcap/tidb/pull/24070) - - Fix range building for binary literal [#24041](https://github.com/pingcap/tidb/pull/24041) - - Fix wrong results for in clause. [#24023](https://github.com/pingcap/tidb/pull/24023) - - Users now need both Insert and Delete privileges on a table to perform REPLACE. [#23939](https://github.com/pingcap/tidb/pull/23939) - - Fix some string function get wrong result [#23879](https://github.com/pingcap/tidb/pull/23879) - -+ TiKV - - - Fix IN expr(coprocessor) didn't handle unsigned/signed int properly [#10018](https://github.com/tikv/tikv/pull/10018) - - Fix the issue that there are lots of empty regions after batch ingest. [#10015](https://github.com/tikv/tikv/pull/10015) - - Use `zstd` to compress the snapshot [#10005](https://github.com/tikv/tikv/pull/10005) - - Fix potential panics when input of cast_string_as_time is invalid UTF-8 bytes [#9995](https://github.com/tikv/tikv/pull/9995) - - Fix the bug that TiKV cannot startup when the end of file dict file is damaged. [#9992](https://github.com/tikv/tikv/pull/9992) - + PD - Modify score calculator to satisfy isomerous stores [#3605](https://github.com/pingcap/pd/pull/3605) From 683b14bb8dfb16aca4be1e1efb08c4579d667144 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Tue, 20 Apr 2021 17:01:34 +0800 Subject: [PATCH 04/19] Apply suggestions from code review Co-authored-by: 3pointer --- releases/release-5.0.1.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/releases/release-5.0.1.md b/releases/release-5.0.1.md index b032f037979c5..ef563effed320 100644 --- a/releases/release-5.0.1.md +++ b/releases/release-5.0.1.md @@ -68,19 +68,20 @@ TiDB version: 5.0.1 - Avoid unexpected statistic modify after adding scatter region scheduler [#3602](https://github.com/pingcap/pd/pull/3602) + Tools +- Lightning +* Fix the bug that the table count in the progress log is wrong. [#1005](https://github.com/pingcap/br/pull/1005) - BR - - * BR now can tolerate minor TiKV disconnection. [#1019](https://github.com/pingcap/br/pull/1019) - * Summary now become more clear. [#1009](https://github.com/pingcap/br/pull/1009) +* Fix the bug that caused the real backup speed may go beyond far the `--ratelimit`. [#1026](https://github.com/pingcap/br/pull/1026) + * Fix the issue that BR cannot tolerate minor TiKV disconnection. [#1019](https://github.com/pingcap/br/pull/1019) + * Fix the issue that the summary log is not clear. [#1009](https://github.com/pingcap/br/pull/1009) - TiCDC * Fix Unified Sorter returning unhelpful error messages & other misc. fixes. [#1678](https://github.com/pingcap/ticdc/pull/1678) - * S3Sink: cancel create existing table directory on s3 when initialize s3Sink to avoid uploading objects faild [#1672](https://github.com/pingcap/ticdc/pull/1672) + * Fix the issue that creates the existing table directory on minio when initializing causes uploading objects to fail. [#1672](https://github.com/pingcap/ticdc/pull/1672) * Fix text type decode for old row format [#1669](https://github.com/pingcap/ticdc/pull/1669) - * No release note (this bug is never released) [#1667](https://github.com/pingcap/ticdc/pull/1667) * Set session variable `explicit_defaults_for_timestamp` to `ON` to make downstream MySQL5.7 keeps the same behavior with upstream TiDB. [#1659](https://github.com/pingcap/ticdc/pull/1659) * Fix the error handling for io.EOF may cause replication interuption. [#1648](https://github.com/pingcap/ticdc/pull/1648) * Correct TiKV CDC endpoint CPU metric in TiCDC dashboard. [#1645](https://github.com/pingcap/ticdc/pull/1645) - * S3 sink: increase the defaultBufferChanSize of logSink to avoid blocking [#1632](https://github.com/pingcap/ticdc/pull/1632) + * Increase the defaultBufferChanSize of logSink to avoid blocking [#1632](https://github.com/pingcap/ticdc/pull/1632) From d6a8324a9bbf2d8140977ca68225a746a01e2c27 Mon Sep 17 00:00:00 2001 From: amyangfei Date: Tue, 20 Apr 2021 17:13:50 +0800 Subject: [PATCH 05/19] Update releases/release-5.0.1.md --- releases/release-5.0.1.md | 1 - 1 file changed, 1 deletion(-) diff --git a/releases/release-5.0.1.md b/releases/release-5.0.1.md index ef563effed320..bea1ba3b87e91 100644 --- a/releases/release-5.0.1.md +++ b/releases/release-5.0.1.md @@ -80,7 +80,6 @@ TiDB version: 5.0.1 * Fix Unified Sorter returning unhelpful error messages & other misc. fixes. [#1678](https://github.com/pingcap/ticdc/pull/1678) * Fix the issue that creates the existing table directory on minio when initializing causes uploading objects to fail. [#1672](https://github.com/pingcap/ticdc/pull/1672) - * Fix text type decode for old row format [#1669](https://github.com/pingcap/ticdc/pull/1669) * Set session variable `explicit_defaults_for_timestamp` to `ON` to make downstream MySQL5.7 keeps the same behavior with upstream TiDB. [#1659](https://github.com/pingcap/ticdc/pull/1659) * Fix the error handling for io.EOF may cause replication interuption. [#1648](https://github.com/pingcap/ticdc/pull/1648) * Correct TiKV CDC endpoint CPU metric in TiCDC dashboard. [#1645](https://github.com/pingcap/ticdc/pull/1645) From 64f050481ca61373f0ee95943b6b247735fbc6f2 Mon Sep 17 00:00:00 2001 From: amyangfei Date: Tue, 20 Apr 2021 17:16:38 +0800 Subject: [PATCH 06/19] Update releases/release-5.0.1.md --- releases/release-5.0.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.0.1.md b/releases/release-5.0.1.md index bea1ba3b87e91..36a9c03744271 100644 --- a/releases/release-5.0.1.md +++ b/releases/release-5.0.1.md @@ -78,7 +78,7 @@ TiDB version: 5.0.1 - TiCDC - * Fix Unified Sorter returning unhelpful error messages & other misc. fixes. [#1678](https://github.com/pingcap/ticdc/pull/1678) + * Fix data race and unhelpful error message in unified sorter. [#1678](https://github.com/pingcap/ticdc/pull/1678) * Fix the issue that creates the existing table directory on minio when initializing causes uploading objects to fail. [#1672](https://github.com/pingcap/ticdc/pull/1672) * Set session variable `explicit_defaults_for_timestamp` to `ON` to make downstream MySQL5.7 keeps the same behavior with upstream TiDB. [#1659](https://github.com/pingcap/ticdc/pull/1659) * Fix the error handling for io.EOF may cause replication interuption. [#1648](https://github.com/pingcap/ticdc/pull/1648) From 19dd22df012e17599d3b0fdf28f1113616de27ac Mon Sep 17 00:00:00 2001 From: amyangfei Date: Tue, 20 Apr 2021 17:17:27 +0800 Subject: [PATCH 07/19] Update releases/release-5.0.1.md --- releases/release-5.0.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.0.1.md b/releases/release-5.0.1.md index 36a9c03744271..e6f5d5dbefe6b 100644 --- a/releases/release-5.0.1.md +++ b/releases/release-5.0.1.md @@ -81,6 +81,6 @@ TiDB version: 5.0.1 * Fix data race and unhelpful error message in unified sorter. [#1678](https://github.com/pingcap/ticdc/pull/1678) * Fix the issue that creates the existing table directory on minio when initializing causes uploading objects to fail. [#1672](https://github.com/pingcap/ticdc/pull/1672) * Set session variable `explicit_defaults_for_timestamp` to `ON` to make downstream MySQL5.7 keeps the same behavior with upstream TiDB. [#1659](https://github.com/pingcap/ticdc/pull/1659) - * Fix the error handling for io.EOF may cause replication interuption. [#1648](https://github.com/pingcap/ticdc/pull/1648) + * Fix the error handling for io.EOF which may cause replication interruption. [#1648](https://github.com/pingcap/ticdc/pull/1648) * Correct TiKV CDC endpoint CPU metric in TiCDC dashboard. [#1645](https://github.com/pingcap/ticdc/pull/1645) * Increase the defaultBufferChanSize of logSink to avoid blocking [#1632](https://github.com/pingcap/ticdc/pull/1632) From ab379cde6fc19936ae85a1fc1dfd4d23ccab74e4 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Tue, 20 Apr 2021 17:27:58 +0800 Subject: [PATCH 08/19] add tools and tiflash notes --- releases/release-5.0.1.md | 70 ++++++++++++++++++++++----------------- 1 file changed, 39 insertions(+), 31 deletions(-) diff --git a/releases/release-5.0.1.md b/releases/release-5.0.1.md index e6f5d5dbefe6b..dd33fc870faf5 100644 --- a/releases/release-5.0.1.md +++ b/releases/release-5.0.1.md @@ -18,6 +18,12 @@ TiDB version: 5.0.1 - Use `zstd` to compress the snapshot [#10005](https://github.com/tikv/tikv/pull/10005) ++ Tools + + + Backup & Restore (BR) + + - Fix the issue that the summary log is not clear [#1009](https://github.com/pingcap/br/pull/1009) + ## Bug Fixes + TiDB @@ -46,19 +52,39 @@ TiDB version: 5.0.1 + TiFlash - - Fix a potential issue that the DeleteRange in the storage engine failed to remove some data. [#1790](https://github.com/pingcap/tics/pull/1790) - - Fix problem that TiFlash coprocessor's cast time as int function may produce incorrect result. [#1786](https://github.com/pingcap/tics/pull/1786) - - Fix the bug that receiver cannot find tasks within 10s. [#1784](https://github.com/pingcap/tics/pull/1784) - - Fix potential invalid iterator in cancelMPPQuery [#1777](https://github.com/pingcap/tics/pull/1777) - - Fix problem that behavior of TiFlash coprocessor's bitwise operator is different from TiDB [#1774](https://github.com/pingcap/tics/pull/1774) - - Fix false alert of overlapped ranges if prefix next key is used [#1771](https://github.com/pingcap/tics/pull/1771) - - Fix the problem that TiFlash coprocessor's cast string as int function may produce incorrect result. [#1768](https://github.com/pingcap/tics/pull/1768) - - Fix the issue that continuous and fast writing may make TiFlash OOM [#1739](https://github.com/pingcap/tics/pull/1739) - - Fix bug that duplicated column name will make TiFlash throw error. [#1732](https://github.com/pingcap/tics/pull/1732) - - Support complex query plan tree with a max depth of 100. [#1722](https://github.com/pingcap/tics/pull/1722) - - Fix potential NPE in schema sync service when database is dropped between GC and getting the database info. [#1708](https://github.com/pingcap/tics/pull/1708) - - Fix the crash that causes by applying Raft commands to dropped tables [#1702](https://github.com/pingcap/tics/pull/1702) - - Fix the issue that TiFlash may panic during br restore [#1698](https://github.com/pingcap/tics/pull/1698) + - Fix the potential issue that storage engine fails to remove some data while executing `DeleteRange` + - Fix a bug that the function to cast time as int may produce incorrect result + - Fix a bug that receiver cannot find tasks within 10s + - Fix the potential issue that there may be invalid iterators in `cancelMPPQuery` + - Fix a bug that behavior of `bitwise` operator is different from TiDB + - Fix the issue that alert about overlapped ranges will be raised when using prefix key + - Fix a bug that the function to cast string as int may produce incorrect result + - Fix the issue that continuous and fast writing may make TiFlash OOM + - Fix the issue that duplicated column name will make TiFlash raise error + - Fix the issue that TiFlash fails to decode MPP plan + - Fix the potential issue that null pointer exception may be raised during table GC + - Fix the issue that TiFlash may panic while applying raft commands to dropped tables + - Fix the issue that TiFlash may panic during BR restore + ++ Tools + + + TiDB Lightning + + - Fix the bug that the table count in the progress log is wrong. [#1005](https://github.com/pingcap/br/pull/1005) + + + Backup & Restore (BR) + + - Fix the bug that caused the real backup speed may go beyond far the `--ratelimit`. [#1026](https://github.com/pingcap/br/pull/1026) + - Fix the issue that BR cannot tolerate minor TiKV disconnection [#1019](https://github.com/pingcap/br/pull/1019) + + + TiCDC + + - Fix data race and unhelpful error message in unified sorter. [#1678](https://github.com/pingcap/ticdc/pull/1678) + - Fix the issue that creates the existing table directory on minio when initializing causes uploading objects to fail. [#1672] + - Set session variable `explicit_defaults_for_timestamp` to `ON` to make downstream MySQL5.7 keeps the same behavior with upstream TiDB. [#1659](https://github.com/pingcap/ticdc/pull/1659) + - Fix the error handling for io.EOF may cause replication interruption. [#1648](https://github.com/pingcap/ticdc/pull/1648) + - Correct TiKV CDC endpoint CPU metric in TiCDC dashboard. [#1645](https://github.com/pingcap/ticdc/pull/1645) + - Increase the defaultBufferChanSize of logSink to avoid blocking [#1632](https://github.com/pingcap/ticdc/pull/1632) ## 下面是未分类的 notes。请对以下 notes 分为 [New Features](#new-features)、[Compatibility Changes](#compatibility-changes)、[Improvements](#improvements)、[Bug Fixes](#bug-fixes) 四类,并移动到上面对应的标题下面。如果 Notes 多余,请进行移除。 @@ -66,21 +92,3 @@ TiDB version: 5.0.1 - Modify score calculator to satisfy isomerous stores [#3605](https://github.com/pingcap/pd/pull/3605) - Avoid unexpected statistic modify after adding scatter region scheduler [#3602](https://github.com/pingcap/pd/pull/3602) - -+ Tools -- Lightning - -* Fix the bug that the table count in the progress log is wrong. [#1005](https://github.com/pingcap/br/pull/1005) - - BR -* Fix the bug that caused the real backup speed may go beyond far the `--ratelimit`. [#1026](https://github.com/pingcap/br/pull/1026) - * Fix the issue that BR cannot tolerate minor TiKV disconnection. [#1019](https://github.com/pingcap/br/pull/1019) - * Fix the issue that the summary log is not clear. [#1009](https://github.com/pingcap/br/pull/1009) - - - TiCDC - - * Fix data race and unhelpful error message in unified sorter. [#1678](https://github.com/pingcap/ticdc/pull/1678) - * Fix the issue that creates the existing table directory on minio when initializing causes uploading objects to fail. [#1672](https://github.com/pingcap/ticdc/pull/1672) - * Set session variable `explicit_defaults_for_timestamp` to `ON` to make downstream MySQL5.7 keeps the same behavior with upstream TiDB. [#1659](https://github.com/pingcap/ticdc/pull/1659) - * Fix the error handling for io.EOF which may cause replication interruption. [#1648](https://github.com/pingcap/ticdc/pull/1648) - * Correct TiKV CDC endpoint CPU metric in TiCDC dashboard. [#1645](https://github.com/pingcap/ticdc/pull/1645) - * Increase the defaultBufferChanSize of logSink to avoid blocking [#1632](https://github.com/pingcap/ticdc/pull/1632) From 657cd05ce139a522bb1a2ea5b688ceadd70088f3 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Wed, 21 Apr 2021 16:48:02 +0800 Subject: [PATCH 09/19] add pd notes --- releases/release-5.0.1.md | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/releases/release-5.0.1.md b/releases/release-5.0.1.md index dd33fc870faf5..ac7c98e76c7b9 100644 --- a/releases/release-5.0.1.md +++ b/releases/release-5.0.1.md @@ -8,16 +8,17 @@ Release date: April 23, 2021 TiDB version: 5.0.1 -## Compatibility Changes - -## New Features - ## Improvements + TiKV - Use `zstd` to compress the snapshot [#10005](https://github.com/tikv/tikv/pull/10005) ++ PD + + - Modify score calculator to satisfy isomerous stores [#3605](https://github.com/pingcap/pd/pull/3605) + - Avoid unexpected statistic modify after adding scatter region scheduler [#3602](https://github.com/pingcap/pd/pull/3602) + + Tools + Backup & Restore (BR) @@ -85,10 +86,3 @@ TiDB version: 5.0.1 - Fix the error handling for io.EOF may cause replication interruption. [#1648](https://github.com/pingcap/ticdc/pull/1648) - Correct TiKV CDC endpoint CPU metric in TiCDC dashboard. [#1645](https://github.com/pingcap/ticdc/pull/1645) - Increase the defaultBufferChanSize of logSink to avoid blocking [#1632](https://github.com/pingcap/ticdc/pull/1632) - -## 下面是未分类的 notes。请对以下 notes 分为 [New Features](#new-features)、[Compatibility Changes](#compatibility-changes)、[Improvements](#improvements)、[Bug Fixes](#bug-fixes) 四类,并移动到上面对应的标题下面。如果 Notes 多余,请进行移除。 - -+ PD - - - Modify score calculator to satisfy isomerous stores [#3605](https://github.com/pingcap/pd/pull/3605) - - Avoid unexpected statistic modify after adding scatter region scheduler [#3602](https://github.com/pingcap/pd/pull/3602) From cbeed40b3302a6f9b86043759db7b068573a2ad6 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Thu, 22 Apr 2021 15:55:47 +0800 Subject: [PATCH 10/19] fix language bugs --- releases/release-5.0.1.md | 88 +++++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/releases/release-5.0.1.md b/releases/release-5.0.1.md index ac7c98e76c7b9..b21b1d3c94ab8 100644 --- a/releases/release-5.0.1.md +++ b/releases/release-5.0.1.md @@ -12,77 +12,77 @@ TiDB version: 5.0.1 + TiKV - - Use `zstd` to compress the snapshot [#10005](https://github.com/tikv/tikv/pull/10005) + - Use `zstd` to compress the Region snapshot [#10005](https://github.com/tikv/tikv/pull/10005) + PD - - Modify score calculator to satisfy isomerous stores [#3605](https://github.com/pingcap/pd/pull/3605) - - Avoid unexpected statistic modify after adding scatter region scheduler [#3602](https://github.com/pingcap/pd/pull/3602) + - Modify the Region score calculator to better satisfy isomerous stores [#3605](https://github.com/pingcap/pd/pull/3605) + - Avoid the unexpected statistics after adding the `scatter region` scheduler [#3602](https://github.com/pingcap/pd/pull/3602) + Tools + Backup & Restore (BR) - - Fix the issue that the summary log is not clear [#1009](https://github.com/pingcap/br/pull/1009) + - Remove some might-be-misunderstood information in the summary log [#1009](https://github.com/pingcap/br/pull/1009) ## Bug Fixes + TiDB - - Do not prune all columns for Projection [#24093](https://github.com/pingcap/tidb/pull/24093) - - Fix wrong query result when column contains null values [#24063](https://github.com/pingcap/tidb/pull/24063) - - Do not build MPP plan for scan with virtual columns [#24058](https://github.com/pingcap/tidb/pull/24058) - - Fix wrong PointGet / TableDual plan reused in plan cache [#24043](https://github.com/pingcap/tidb/pull/24043) - - Append common handle columns into the schema of index merge table plan [#24042](https://github.com/pingcap/tidb/pull/24042) - - Fix the type merging about BIT type [#24027](https://github.com/pingcap/tidb/pull/24027) - - Fix wrong TableDual plans caused by comparing Binary and Bytes incorrectly [#23918](https://github.com/pingcap/tidb/pull/23918) - - Fix the issue that planner hints don't work in some batch/point-get plans [#23685](https://github.com/pingcap/tidb/pull/23685) - - Fix the cases that DDL would parse the args failed when converting job status to rolling back [#24080](https://github.com/pingcap/tidb/pull/24080) - - Fix range building for binary literal [#24041](https://github.com/pingcap/tidb/pull/24041) - - Fix wrong results for in clause [#24023](https://github.com/pingcap/tidb/pull/24023) - - Fix the wrong result of some string functions [#23879](https://github.com/pingcap/tidb/pull/23879) - - Users now need both INSERT and DELETE privileges on a table to perform REPLACE [#23939](https://github.com/pingcap/tidb/pull/23939) - - Fix performance regression of point select [#24070](https://github.com/pingcap/tidb/pull/24070) + - Fix the issue that the execution result of project elimination might be wrong when the projection result is empty [#24093](https://github.com/pingcap/tidb/pull/24093) + - Fix the issue of wrong query results when the column contains `NULL` values in some cases [#24063](https://github.com/pingcap/tidb/pull/24063) + - Forbid generating MPP plans when the scan contains virtual columns [#24058](https://github.com/pingcap/tidb/pull/24058) + - Fix the wrong reuse of `PointGet` and `TableDual` in Plan Cache [#24043](https://github.com/pingcap/tidb/pull/24043) + - ping @eurekaka @winoros: Append common handle columns into the schema of index merge table plan [#24042](https://github.com/pingcap/tidb/pull/24042) + - Fix the type inference of the BIT-type errors [#24027](https://github.com/pingcap/tidb/pull/24027) + - Fix the issue that some optimizer hints do not take effect when the `PointGet` operator exists [#23685](https://github.com/pingcap/tidb/pull/23685) + - ping @winoros @AilinKid: Fix the cases that DDL would parse the args failed when converting job status to rolling back [#24080](https://github.com/pingcap/tidb/pull/24080) + - Fix the issue that the index range of the binary literal constant is incorrectly built [#24041](https://github.com/pingcap/tidb/pull/24041) + - Fix the potential wrong results of the `IN` clause in some cases [#24023](https://github.com/pingcap/tidb/pull/24023) + - Fix the wrong results of some string functions [#23879](https://github.com/pingcap/tidb/pull/23879) + - Users now need both `INSERT` and `DELETE` privileges on a table to perform `REPLACE` operations [#23939](https://github.com/pingcap/tidb/pull/23939) + - Fix the performance regression when executing the point query [#24070](https://github.com/pingcap/tidb/pull/24070) + - Fix the wrong `TableDual` plans caused by incorrectly comparing binaries and bytes incorrectly [#23918](https://github.com/pingcap/tidb/pull/23918) + TiKV - - Fix IN expr(coprocessor) didn't handle unsigned/signed int properly [#10018](https://github.com/tikv/tikv/pull/10018) - - Fix the issue that there are lots of empty regions after batch ingest. [#10015](https://github.com/tikv/tikv/pull/10015) - - Fix potential panics when input of cast_string_as_time is invalid UTF-8 bytes [#9995](https://github.com/tikv/tikv/pull/9995) - - Fix the bug that TiKV cannot startup when the end of file dict file is damaged. [#9992](https://github.com/tikv/tikv/pull/9992) + - Fix the issue that the `IN` expression in the coprocessor fails to properly handle the signed or unsigned integer types [#10018](https://github.com/tikv/tikv/pull/10018) + - Fix the issue of many empty Regions after batch ingesting SST files [#10015](https://github.com/tikv/tikv/pull/10015) + - Fix the potential panic that occurs when the input of `cast_string_as_time` is invalid UTF-8 bytes [#9995](https://github.com/tikv/tikv/pull/9995) + - Fix a bug that TiKV cannot start up after the file dictionary file is damaged [#9992](https://github.com/tikv/tikv/pull/9992) + TiFlash - - Fix the potential issue that storage engine fails to remove some data while executing `DeleteRange` - - Fix a bug that the function to cast time as int may produce incorrect result - - Fix a bug that receiver cannot find tasks within 10s - - Fix the potential issue that there may be invalid iterators in `cancelMPPQuery` - - Fix a bug that behavior of `bitwise` operator is different from TiDB - - Fix the issue that alert about overlapped ranges will be raised when using prefix key - - Fix a bug that the function to cast string as int may produce incorrect result - - Fix the issue that continuous and fast writing may make TiFlash OOM - - Fix the issue that duplicated column name will make TiFlash raise error - - Fix the issue that TiFlash fails to decode MPP plan - - Fix the potential issue that null pointer exception may be raised during table GC - - Fix the issue that TiFlash may panic while applying raft commands to dropped tables - - Fix the issue that TiFlash may panic during BR restore + - Fix the issue that the storage engine fails to remove the data of some ranges + - Fix the issue of incorrect results when casting the time type to the integer type + - Fix a bug that the `receiver` cannot find corresponding tasks within 10 seconds + - Fix the issue that there might be invalid iterators in `cancelMPPQuery` + - Fix a bug that the behavior of the `bitwise` operator is different from that of TiDB + - Fix the alert issue caused by overlapping ranges when using the prefix key + - Fix the issue of incorrect results when casting the string type to the integer type + - Fix the issue that consecutive and fast writes might make TiFlash out of memory + - Fix the issue that duplicated column names will make TiFlash raise errors + - Fix the issue that TiFlash fails to parse MPP plans + - Fix the potential issue that the exception of null pointer might be raised during the table GC + - Fix the TiFlash panic issue that occurs when writing data to dropped tables + - Fix the issue that TiFlash might panic during BR restore + Tools + TiDB Lightning - - Fix the bug that the table count in the progress log is wrong. [#1005](https://github.com/pingcap/br/pull/1005) + - Fix the issue of the inaccurate table count in the progress log during the import [#1005](https://github.com/pingcap/br/pull/1005) + Backup & Restore (BR) - - Fix the bug that caused the real backup speed may go beyond far the `--ratelimit`. [#1026](https://github.com/pingcap/br/pull/1026) - - Fix the issue that BR cannot tolerate minor TiKV disconnection [#1019](https://github.com/pingcap/br/pull/1019) + - Fix a bug that the real backup speed goes beyond the `--ratelimit` limit [#1026](https://github.com/pingcap/br/pull/1026) + - Fix the issue that BR cannot tolerate the failure of a small number of TiKV nodes [#1019](https://github.com/pingcap/br/pull/1019) + TiCDC - - Fix data race and unhelpful error message in unified sorter. [#1678](https://github.com/pingcap/ticdc/pull/1678) - - Fix the issue that creates the existing table directory on minio when initializing causes uploading objects to fail. [#1672] - - Set session variable `explicit_defaults_for_timestamp` to `ON` to make downstream MySQL5.7 keeps the same behavior with upstream TiDB. [#1659](https://github.com/pingcap/ticdc/pull/1659) - - Fix the error handling for io.EOF may cause replication interruption. [#1648](https://github.com/pingcap/ticdc/pull/1648) - - Correct TiKV CDC endpoint CPU metric in TiCDC dashboard. [#1645](https://github.com/pingcap/ticdc/pull/1645) - - Increase the defaultBufferChanSize of logSink to avoid blocking [#1632](https://github.com/pingcap/ticdc/pull/1632) + - Fix the concurrency issue in Unified Sorter and improve the unhelpful error messages [#1678](https://github.com/pingcap/ticdc/pull/1678) + - ping @amyangfei @3pointer: Fix the issue that creates the existing table directory on minio when initializing causes uploading objects to fail [#1672](https://github.com/pingcap/ticdc/pull/1672) + - Set the value of the `explicit_defaults_for_timestamp` session variable to `ON` to make the MySQL 5.7 downstream keeps the same behavior with the upstream TiDB [#1659](https://github.com/pingcap/ticdc/pull/1659) + - Fix the issue that the incorrect handling of `io.EOF` might cause replication interruption [#1648](https://github.com/pingcap/ticdc/pull/1648) + - Correct the TiKV CDC endpoint CPU metric in the TiCDC dashboard [#1645](https://github.com/pingcap/ticdc/pull/1645) + - Increase `defaultBufferChanSize` to avoid replication blocking in some cases [#1632](https://github.com/pingcap/ticdc/pull/1632) From 72bebc323f6bc7ad6ac8e167c1138d678a109484 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Thu, 22 Apr 2021 18:02:21 +0800 Subject: [PATCH 11/19] fix confusing notes according to coworkers --- releases/release-5.0.1.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/releases/release-5.0.1.md b/releases/release-5.0.1.md index b21b1d3c94ab8..e9cfe1c3062ec 100644 --- a/releases/release-5.0.1.md +++ b/releases/release-5.0.1.md @@ -33,10 +33,10 @@ TiDB version: 5.0.1 - Fix the issue of wrong query results when the column contains `NULL` values in some cases [#24063](https://github.com/pingcap/tidb/pull/24063) - Forbid generating MPP plans when the scan contains virtual columns [#24058](https://github.com/pingcap/tidb/pull/24058) - Fix the wrong reuse of `PointGet` and `TableDual` in Plan Cache [#24043](https://github.com/pingcap/tidb/pull/24043) - - ping @eurekaka @winoros: Append common handle columns into the schema of index merge table plan [#24042](https://github.com/pingcap/tidb/pull/24042) + - Fix the error that occurs when the optimizer builds the `IndexMerge` plan for clustered indexes [#24042](https://github.com/pingcap/tidb/pull/24042) - Fix the type inference of the BIT-type errors [#24027](https://github.com/pingcap/tidb/pull/24027) - Fix the issue that some optimizer hints do not take effect when the `PointGet` operator exists [#23685](https://github.com/pingcap/tidb/pull/23685) - - ping @winoros @AilinKid: Fix the cases that DDL would parse the args failed when converting job status to rolling back [#24080](https://github.com/pingcap/tidb/pull/24080) + - Fix the issue that DDL operations might get stuck when rolling back due to an error [#24080](https://github.com/pingcap/tidb/pull/24080) - Fix the issue that the index range of the binary literal constant is incorrectly built [#24041](https://github.com/pingcap/tidb/pull/24041) - Fix the potential wrong results of the `IN` clause in some cases [#24023](https://github.com/pingcap/tidb/pull/24023) - Fix the wrong results of some string functions [#23879](https://github.com/pingcap/tidb/pull/23879) @@ -81,7 +81,7 @@ TiDB version: 5.0.1 + TiCDC - Fix the concurrency issue in Unified Sorter and improve the unhelpful error messages [#1678](https://github.com/pingcap/ticdc/pull/1678) - - ping @amyangfei @3pointer: Fix the issue that creates the existing table directory on minio when initializing causes uploading objects to fail [#1672](https://github.com/pingcap/ticdc/pull/1672) + - Fix a bug that the creation of redundant directories might interrupt the replication with MinIO [#1672](https://github.com/pingcap/ticdc/pull/1672) - Set the value of the `explicit_defaults_for_timestamp` session variable to `ON` to make the MySQL 5.7 downstream keeps the same behavior with the upstream TiDB [#1659](https://github.com/pingcap/ticdc/pull/1659) - Fix the issue that the incorrect handling of `io.EOF` might cause replication interruption [#1648](https://github.com/pingcap/ticdc/pull/1648) - Correct the TiKV CDC endpoint CPU metric in the TiCDC dashboard [#1645](https://github.com/pingcap/ticdc/pull/1645) From ca36b37580d887c859485a6fde7e6ac72a546449 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Thu, 22 Apr 2021 19:11:59 +0800 Subject: [PATCH 12/19] Update release-5.0.1.md --- releases/release-5.0.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.0.1.md b/releases/release-5.0.1.md index e9cfe1c3062ec..f88c5398bb5e6 100644 --- a/releases/release-5.0.1.md +++ b/releases/release-5.0.1.md @@ -36,7 +36,7 @@ TiDB version: 5.0.1 - Fix the error that occurs when the optimizer builds the `IndexMerge` plan for clustered indexes [#24042](https://github.com/pingcap/tidb/pull/24042) - Fix the type inference of the BIT-type errors [#24027](https://github.com/pingcap/tidb/pull/24027) - Fix the issue that some optimizer hints do not take effect when the `PointGet` operator exists [#23685](https://github.com/pingcap/tidb/pull/23685) - - Fix the issue that DDL operations might get stuck when rolling back due to an error [#24080](https://github.com/pingcap/tidb/pull/24080) + - Fix the issue that DDL operations might fail when rolling back due to an error [#24080](https://github.com/pingcap/tidb/pull/24080) - Fix the issue that the index range of the binary literal constant is incorrectly built [#24041](https://github.com/pingcap/tidb/pull/24041) - Fix the potential wrong results of the `IN` clause in some cases [#24023](https://github.com/pingcap/tidb/pull/24023) - Fix the wrong results of some string functions [#23879](https://github.com/pingcap/tidb/pull/23879) From 853f302d33d71e5030ef01ce602940a8f50e0e92 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 23 Apr 2021 14:25:14 +0800 Subject: [PATCH 13/19] Apply suggestions from code review Co-authored-by: Grace Cai --- releases/release-5.0.1.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/releases/release-5.0.1.md b/releases/release-5.0.1.md index f88c5398bb5e6..ae360a1ed7906 100644 --- a/releases/release-5.0.1.md +++ b/releases/release-5.0.1.md @@ -17,20 +17,20 @@ TiDB version: 5.0.1 + PD - Modify the Region score calculator to better satisfy isomerous stores [#3605](https://github.com/pingcap/pd/pull/3605) - - Avoid the unexpected statistics after adding the `scatter region` scheduler [#3602](https://github.com/pingcap/pd/pull/3602) + - Avoid unexpected statistics after adding the `scatter region` scheduler [#3602](https://github.com/pingcap/pd/pull/3602) + Tools + Backup & Restore (BR) - - Remove some might-be-misunderstood information in the summary log [#1009](https://github.com/pingcap/br/pull/1009) + - Remove some misleading information from the summary log [#1009](https://github.com/pingcap/br/pull/1009) ## Bug Fixes + TiDB - Fix the issue that the execution result of project elimination might be wrong when the projection result is empty [#24093](https://github.com/pingcap/tidb/pull/24093) - - Fix the issue of wrong query results when the column contains `NULL` values in some cases [#24063](https://github.com/pingcap/tidb/pull/24063) + - Fix the issue of wrong query results when a column contains `NULL` values in some cases [#24063](https://github.com/pingcap/tidb/pull/24063) - Forbid generating MPP plans when the scan contains virtual columns [#24058](https://github.com/pingcap/tidb/pull/24058) - Fix the wrong reuse of `PointGet` and `TableDual` in Plan Cache [#24043](https://github.com/pingcap/tidb/pull/24043) - Fix the error that occurs when the optimizer builds the `IndexMerge` plan for clustered indexes [#24042](https://github.com/pingcap/tidb/pull/24042) @@ -42,7 +42,7 @@ TiDB version: 5.0.1 - Fix the wrong results of some string functions [#23879](https://github.com/pingcap/tidb/pull/23879) - Users now need both `INSERT` and `DELETE` privileges on a table to perform `REPLACE` operations [#23939](https://github.com/pingcap/tidb/pull/23939) - Fix the performance regression when executing the point query [#24070](https://github.com/pingcap/tidb/pull/24070) - - Fix the wrong `TableDual` plans caused by incorrectly comparing binaries and bytes incorrectly [#23918](https://github.com/pingcap/tidb/pull/23918) + - Fix the wrong `TableDual` plans caused by incorrectly comparing binaries and bytes [#23918](https://github.com/pingcap/tidb/pull/23918) + TiKV @@ -58,7 +58,7 @@ TiDB version: 5.0.1 - Fix a bug that the `receiver` cannot find corresponding tasks within 10 seconds - Fix the issue that there might be invalid iterators in `cancelMPPQuery` - Fix a bug that the behavior of the `bitwise` operator is different from that of TiDB - - Fix the alert issue caused by overlapping ranges when using the prefix key + - Fix the alert issue caused by overlapping ranges when using the `prefix key` - Fix the issue of incorrect results when casting the string type to the integer type - Fix the issue that consecutive and fast writes might make TiFlash out of memory - Fix the issue that duplicated column names will make TiFlash raise errors @@ -75,14 +75,14 @@ TiDB version: 5.0.1 + Backup & Restore (BR) - - Fix a bug that the real backup speed goes beyond the `--ratelimit` limit [#1026](https://github.com/pingcap/br/pull/1026) + - Fix a bug that the actual backup speed exceeds the `--ratelimit` limit [#1026](https://github.com/pingcap/br/pull/1026) - Fix the issue that BR cannot tolerate the failure of a small number of TiKV nodes [#1019](https://github.com/pingcap/br/pull/1019) + TiCDC - Fix the concurrency issue in Unified Sorter and improve the unhelpful error messages [#1678](https://github.com/pingcap/ticdc/pull/1678) - Fix a bug that the creation of redundant directories might interrupt the replication with MinIO [#1672](https://github.com/pingcap/ticdc/pull/1672) - - Set the value of the `explicit_defaults_for_timestamp` session variable to `ON` to make the MySQL 5.7 downstream keeps the same behavior with the upstream TiDB [#1659](https://github.com/pingcap/ticdc/pull/1659) + - Set the value of the `explicit_defaults_for_timestamp` session variable to `ON` by default to make the MySQL 5.7 downstream keep the same behavior with the upstream TiDB [#1659](https://github.com/pingcap/ticdc/pull/1659) - Fix the issue that the incorrect handling of `io.EOF` might cause replication interruption [#1648](https://github.com/pingcap/ticdc/pull/1648) - Correct the TiKV CDC endpoint CPU metric in the TiCDC dashboard [#1645](https://github.com/pingcap/ticdc/pull/1645) - Increase `defaultBufferChanSize` to avoid replication blocking in some cases [#1632](https://github.com/pingcap/ticdc/pull/1632) From a90cfecb2a60fe3a9dde4b25c31669038e52d744 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 23 Apr 2021 14:27:48 +0800 Subject: [PATCH 14/19] Update releases/release-5.0.1.md --- releases/release-5.0.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.0.1.md b/releases/release-5.0.1.md index ae360a1ed7906..ae44fc9516732 100644 --- a/releases/release-5.0.1.md +++ b/releases/release-5.0.1.md @@ -80,7 +80,7 @@ TiDB version: 5.0.1 + TiCDC - - Fix the concurrency issue in Unified Sorter and improve the unhelpful error messages [#1678](https://github.com/pingcap/ticdc/pull/1678) + - Fix the concurrency issue in Unified Sorter and filter the unhelpful error messages [#1678](https://github.com/pingcap/ticdc/pull/1678) - Fix a bug that the creation of redundant directories might interrupt the replication with MinIO [#1672](https://github.com/pingcap/ticdc/pull/1672) - Set the value of the `explicit_defaults_for_timestamp` session variable to `ON` by default to make the MySQL 5.7 downstream keep the same behavior with the upstream TiDB [#1659](https://github.com/pingcap/ticdc/pull/1659) - Fix the issue that the incorrect handling of `io.EOF` might cause replication interruption [#1648](https://github.com/pingcap/ticdc/pull/1648) From cb5b6875dddd5b1f084dee1ce2fe50428a27fb88 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 23 Apr 2021 14:39:22 +0800 Subject: [PATCH 15/19] Update releases/release-5.0.1.md --- releases/release-5.0.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.0.1.md b/releases/release-5.0.1.md index ae44fc9516732..b1de7c9552480 100644 --- a/releases/release-5.0.1.md +++ b/releases/release-5.0.1.md @@ -76,7 +76,7 @@ TiDB version: 5.0.1 + Backup & Restore (BR) - Fix a bug that the actual backup speed exceeds the `--ratelimit` limit [#1026](https://github.com/pingcap/br/pull/1026) - - Fix the issue that BR cannot tolerate the failure of a small number of TiKV nodes [#1019](https://github.com/pingcap/br/pull/1019) + - Fix the issue of backup interruption caused by the failure of a few TiKV node [#1019](https://github.com/pingcap/br/pull/1019) + TiCDC From 05e81c1671eee23c1652201ebcfcb0fa4c8c0b86 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 23 Apr 2021 14:52:01 +0800 Subject: [PATCH 16/19] Update releases/release-5.0.1.md --- releases/release-5.0.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.0.1.md b/releases/release-5.0.1.md index b1de7c9552480..360c0152fc8f8 100644 --- a/releases/release-5.0.1.md +++ b/releases/release-5.0.1.md @@ -46,7 +46,7 @@ TiDB version: 5.0.1 + TiKV - - Fix the issue that the `IN` expression in the coprocessor fails to properly handle the signed or unsigned integer types [#10018](https://github.com/tikv/tikv/pull/10018) + - Fix the issue that the coprocessor fails to properly handle the signed or unsigned integer types in the `IN` expression [#10018](https://github.com/tikv/tikv/pull/10018) - Fix the issue of many empty Regions after batch ingesting SST files [#10015](https://github.com/tikv/tikv/pull/10015) - Fix the potential panic that occurs when the input of `cast_string_as_time` is invalid UTF-8 bytes [#9995](https://github.com/tikv/tikv/pull/9995) - Fix a bug that TiKV cannot start up after the file dictionary file is damaged [#9992](https://github.com/tikv/tikv/pull/9992) From 4d8e69e032bef550bf054b1aef783c16cbd35ef6 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 23 Apr 2021 14:55:17 +0800 Subject: [PATCH 17/19] Update releases/release-5.0.1.md --- releases/release-5.0.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.0.1.md b/releases/release-5.0.1.md index 360c0152fc8f8..e70ac2c767a37 100644 --- a/releases/release-5.0.1.md +++ b/releases/release-5.0.1.md @@ -76,7 +76,7 @@ TiDB version: 5.0.1 + Backup & Restore (BR) - Fix a bug that the actual backup speed exceeds the `--ratelimit` limit [#1026](https://github.com/pingcap/br/pull/1026) - - Fix the issue of backup interruption caused by the failure of a few TiKV node [#1019](https://github.com/pingcap/br/pull/1019) + - Fix the issue of backup interruption caused by the failure of a few TiKV nodes [#1019](https://github.com/pingcap/br/pull/1019) + TiCDC From 1d9508d2841927535902d8a2b6f698db358a0680 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 23 Apr 2021 15:22:51 +0800 Subject: [PATCH 18/19] Update releases/release-5.0.1.md Co-authored-by: Grace Cai --- releases/release-5.0.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.0.1.md b/releases/release-5.0.1.md index e70ac2c767a37..155ac1c8120e3 100644 --- a/releases/release-5.0.1.md +++ b/releases/release-5.0.1.md @@ -82,7 +82,7 @@ TiDB version: 5.0.1 - Fix the concurrency issue in Unified Sorter and filter the unhelpful error messages [#1678](https://github.com/pingcap/ticdc/pull/1678) - Fix a bug that the creation of redundant directories might interrupt the replication with MinIO [#1672](https://github.com/pingcap/ticdc/pull/1672) - - Set the value of the `explicit_defaults_for_timestamp` session variable to `ON` by default to make the MySQL 5.7 downstream keep the same behavior with the upstream TiDB [#1659](https://github.com/pingcap/ticdc/pull/1659) + - Set the default value of the `explicit_defaults_for_timestamp` session variable to `ON` to make the MySQL 5.7 downstream keep the same behavior with the upstream TiDB [#1659](https://github.com/pingcap/ticdc/pull/1659) - Fix the issue that the incorrect handling of `io.EOF` might cause replication interruption [#1648](https://github.com/pingcap/ticdc/pull/1648) - Correct the TiKV CDC endpoint CPU metric in the TiCDC dashboard [#1645](https://github.com/pingcap/ticdc/pull/1645) - Increase `defaultBufferChanSize` to avoid replication blocking in some cases [#1632](https://github.com/pingcap/ticdc/pull/1632) From b104678311601ca79d957e6007022985a70fdfad Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Sun, 25 Apr 2021 06:25:19 +0800 Subject: [PATCH 19/19] Update releases/release-5.0.1.md --- releases/release-5.0.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.0.1.md b/releases/release-5.0.1.md index 155ac1c8120e3..7ba0be7b943db 100644 --- a/releases/release-5.0.1.md +++ b/releases/release-5.0.1.md @@ -4,7 +4,7 @@ title: TiDB 5.0.1 Release Notes # TiDB 5.0.1 Release Notes -Release date: April 23, 2021 +Release date: April 24, 2021 TiDB version: 5.0.1