From 0c13eab4cd424fadfd383f884a5513c24fc5fee3 Mon Sep 17 00:00:00 2001 From: ti-srebot Date: Mon, 28 Jun 2021 11:39:06 +0800 Subject: [PATCH 01/27] update v5.0.3 release notes at 2021-06-28T11:39:05 Signed-off-by: ti-srebot --- releases/5.0.3.md | 124 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 releases/5.0.3.md diff --git a/releases/5.0.3.md b/releases/5.0.3.md new file mode 100644 index 0000000000000..afa423c6b74c7 --- /dev/null +++ b/releases/5.0.3.md @@ -0,0 +1,124 @@ +--- +title: tidb v5.0.3 Release Notes +category: Releases +aliases: ['/docs/dev/releases/v5.0.3/'] +--- + +# tidb v5.0.3 Release Notes + +Release date: June 28, 2021 + +TiDB version: v5.0.3 + +## Bug Fixes + ++ TiDB + + - Fix incorrect result of set type for merge join [#25694](https://github.com/pingcap/tidb/pull/25694) + - Expression: fix IN expr critical bug [#25666](https://github.com/pingcap/tidb/pull/25666) + - Avoid sessions of GC being affected by global variables [#25609](https://github.com/pingcap/tidb/pull/25609) + - Make sure limit outputs no more columns than its child [#25517](https://github.com/pingcap/tidb/pull/25517) + - Planner: fix a panic caused by sinking a Limit with inlined Proj into IndexLookUp when accessing a partition table [#25139](https://github.com/pingcap/tidb/pull/25139) + - Executor: fix ifnull bug when arg is enum/set [#25116](https://github.com/pingcap/tidb/pull/25116) + - Generate correct number of rows when all agg funcs are pruned [#25062](https://github.com/pingcap/tidb/pull/25062) + - Executor: make the ParallelApply be safe to be called again after returning empty results [#25011](https://github.com/pingcap/tidb/pull/25011) + - Fix the case that there could be duplicate ranges for multi-column index. [#24635](https://github.com/pingcap/tidb/pull/24635) + - Fix a nulleq bug [#24633](https://github.com/pingcap/tidb/pull/24633) + - Executor: fix data race of parallel apply operator [#24345](https://github.com/pingcap/tidb/pull/24345) + - Fix an issue that sorting on index-merge results in partition union reports 'index out of range'. [#24155](https://github.com/pingcap/tidb/pull/24155) + ++ TiFlash + + - Fix the issue that TiFlash nodes keep restart because of split failure. [#2219](https://github.com/pingcap/tics/pull/2219) + - Fix the bug that TiFlash can not GC delta data under rare case [#2185](https://github.com/pingcap/tics/pull/2185) + - Fix the bug that tiflash wrongly add padding for non-binary chars in cast function [#2092](https://github.com/pingcap/tics/pull/2092) + - Fix a bug that aggregation query with complex group by column may got wrong results. [#2072](https://github.com/pingcap/tics/pull/2072) + - Fix the bug that TiFlash may panic under heavy write pressure [#2055](https://github.com/pingcap/tics/pull/2055) + ++ Tools + + - BR + + * Fix parquet parse when parse decimal type [#1277](https://github.com/pingcap/br/pull/1277) + * Fix the bug that lightning returns EOF error when CSV file without '\r\n' at the last line and `strict-format = true`. [#1189](https://github.com/pingcap/br/pull/1189) + * Fix the bug that lightning rebase wrong auto_increment base when the auto_increment field type is float or double. [#1186](https://github.com/pingcap/br/pull/1186) + +## Improvements + ++ TiDB + + - Planner: push down topN to mpp. [#25162](https://github.com/pingcap/tidb/pull/25162) + ++ TiFlash + + - Use multi threads for not joined data in right outer join. [#2094](https://github.com/pingcap/tics/pull/2094) + +## New Features + ++ TiFlash + + - Support cast string as double push down [#2068](https://github.com/pingcap/tics/pull/2068) + - Support pushing down the `str_to_date` function to TiFlash [#2063](https://github.com/pingcap/tics/pull/2063) + +## Others + ++ TiDB + + - Do not allow setting read timestamp to a future time. [#25761](https://github.com/pingcap/tidb/pull/25761) + - Enable the pushdown of builtin function `json_unquote()` to TiKV. [#25720](https://github.com/pingcap/tidb/pull/25720) + - Planner/core: remove the union branch with dual table. [#25614](https://github.com/pingcap/tidb/pull/25614) + - Fix the issue that ODBC-styled literal(like `{d '2020-01-01'}`...) cannot be used as the expression. [#25577](https://github.com/pingcap/tidb/pull/25577) + - Support push down function replace to TiFlash. [#25565](https://github.com/pingcap/tidb/pull/25565) + - Support push fucntion unix_timestamp,concat,year,day,datediff,datesub,castTimeAsString,concat_ws down to TiFlash. [#25564](https://github.com/pingcap/tidb/pull/25564) + - Planner: select distinct should bypass batchget [#25533](https://github.com/pingcap/tidb/pull/25533) + - Planner/core: change agg cost factor [#25241](https://github.com/pingcap/tidb/pull/25241) + - Planner/core: support limit push down [#25159](https://github.com/pingcap/tidb/pull/25159) + - Support pushing down the `str_to_date` functions to TiFlash [#25148](https://github.com/pingcap/tidb/pull/25148) + - Allow mpp outer join to choose the build table based on table row count [#25142](https://github.com/pingcap/tidb/pull/25142) + - Push down left/right/abs to tiflash [#25133](https://github.com/pingcap/tidb/pull/25133) + - Support push down broadcast cartesian join to TiFlash [#25106](https://github.com/pingcap/tidb/pull/25106) + - Planner/core: support union all for mpp. [#25051](https://github.com/pingcap/tidb/pull/25051) + - Balance region for batch cop task [#24724](https://github.com/pingcap/tidb/pull/24724) + - Store/tikv: change backoff type for missed tiflash peer. [#24600](https://github.com/pingcap/tidb/pull/24600) + - Store/copr: invalidate stale regions for Mpp query. [#24432](https://github.com/pingcap/tidb/pull/24432) + - Fix index-out-of-range error when checking only_full_group_by [#24016](https://github.com/pingcap/tidb/pull/24016) + ++ TiKV + + - ```release-note [#10434](https://github.com/tikv/tikv/pull/10434) + - ```release-note [#10431](https://github.com/tikv/tikv/pull/10431) + - Copr: fix the wrong arguments type of json_unquote [#10424](https://github.com/tikv/tikv/pull/10424) + - Fix the issue that br reports file already exists error when TDE enabled during restoration. [#10421](https://github.com/tikv/tikv/pull/10421) + - This bug does not affects existing releases. [#10417](https://github.com/tikv/tikv/pull/10417) + - ```release-note [#10401](https://github.com/tikv/tikv/pull/10401) + - ```release-note [#10396](https://github.com/tikv/tikv/pull/10396) + - Fix a bug that share read index for replica reads on a leader [#10391](https://github.com/tikv/tikv/pull/10391) + - ```release-note [#10388](https://github.com/tikv/tikv/pull/10388) + - ```release-note [#10313](https://github.com/tikv/tikv/pull/10313) + - Limit CDC sink memory consumption. [#10305](https://github.com/tikv/tikv/pull/10305) + ++ PD + + - ```release-note [#3798](https://github.com/pingcap/pd/pull/3798) + ++ TiFlash + + - Fix segment fault for right join if the right jon key is not nullalbe and the left join key is nullable [#2201](https://github.com/pingcap/tics/pull/2201) + - Fix the potential issue that read-index requests cost long time [#2091](https://github.com/pingcap/tics/pull/2091) + - Support cartesian join in TiFlash [#2078](https://github.com/pingcap/tics/pull/2078) + - Push down Left/right to tiflash [#2076](https://github.com/pingcap/tics/pull/2076) + - Push down abs() to tiflash [#2075](https://github.com/pingcap/tics/pull/2075) + - Invalidate stale regions for Mpp query. [#1877](https://github.com/pingcap/tics/pull/1877) + ++ Tools + + - TiCDC + + * Fix potential deadlocks [#2142](https://github.com/pingcap/ticdc/pull/2142) + * Fix a bug that could cause cdc server panic because of the late calculation of resolved ts [#2047](https://github.com/pingcap/ticdc/pull/2047) + * Fix panic when TiCDC fails to read `/proc/meminfo` [#2024](https://github.com/pingcap/ticdc/pull/2024) + * Reduce unnecessary memory consumption [#2012](https://github.com/pingcap/ticdc/pull/2012) + * Make sorter IO errors more user-friendly. [#1977](https://github.com/pingcap/ticdc/pull/1977) + * Fix Unified Sorter memory consumption when tables are many. [#1958](https://github.com/pingcap/ticdc/pull/1958) + * Decrease the default gRPC connection pool size to decrease goroutines count. [#1951](https://github.com/pingcap/ticdc/pull/1951) + * Fix a bug that some MySQL connection could leak after MySQL sink meets error and pauses. [#1946](https://github.com/pingcap/ticdc/pull/1946) From aff9162c9ea48621bc26ece80702531e0964d475 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Mon, 28 Jun 2021 11:47:56 +0800 Subject: [PATCH 02/27] add toc --- TOC.md | 1 + releases/{5.0.3.md => release-5.0.3.md} | 61 ++++++++++++------------- releases/release-notes.md | 1 + 3 files changed, 32 insertions(+), 31 deletions(-) rename releases/{5.0.3.md => release-5.0.3.md} (90%) diff --git a/TOC.md b/TOC.md index 2f693f5fea6ae..a7210da81210c 100644 --- a/TOC.md +++ b/TOC.md @@ -539,6 +539,7 @@ + Release Notes + [All Releases](/releases/release-notes.md) + v5.0 + + [5.0.3](/releases/release-5.0.3.md) + [5.0.2](/releases/release-5.0.2.md) + [5.0.1](/releases/release-5.0.1.md) + [5.0 GA](/releases/release-5.0.0.md) diff --git a/releases/5.0.3.md b/releases/release-5.0.3.md similarity index 90% rename from releases/5.0.3.md rename to releases/release-5.0.3.md index afa423c6b74c7..176a9e1bc8fd7 100644 --- a/releases/5.0.3.md +++ b/releases/release-5.0.3.md @@ -1,14 +1,31 @@ --- -title: tidb v5.0.3 Release Notes -category: Releases -aliases: ['/docs/dev/releases/v5.0.3/'] +title: TiDB 5.0.3 Release Notes --- -# tidb v5.0.3 Release Notes +# TiDB 5.0.3 Release Notes -Release date: June 28, 2021 +Release date: June 30, 2021 -TiDB version: v5.0.3 +TiDB version: 5.0.3 + +## Compatibility Changes + +## New Features + ++ TiFlash + + - Support cast string as double push down [#2068](https://github.com/pingcap/tics/pull/2068) + - Support pushing down the `str_to_date` function to TiFlash [#2063](https://github.com/pingcap/tics/pull/2063) + +## Improvements + ++ TiDB + + - Planner: push down topN to mpp. [#25162](https://github.com/pingcap/tidb/pull/25162) + ++ TiFlash + + - Use multi threads for not joined data in right outer join. [#2094](https://github.com/pingcap/tics/pull/2094) ## Bug Fixes @@ -43,24 +60,7 @@ TiDB version: v5.0.3 * Fix the bug that lightning returns EOF error when CSV file without '\r\n' at the last line and `strict-format = true`. [#1189](https://github.com/pingcap/br/pull/1189) * Fix the bug that lightning rebase wrong auto_increment base when the auto_increment field type is float or double. [#1186](https://github.com/pingcap/br/pull/1186) -## Improvements - -+ TiDB - - - Planner: push down topN to mpp. [#25162](https://github.com/pingcap/tidb/pull/25162) - -+ TiFlash - - - Use multi threads for not joined data in right outer join. [#2094](https://github.com/pingcap/tics/pull/2094) - -## New Features - -+ TiFlash - - - Support cast string as double push down [#2068](https://github.com/pingcap/tics/pull/2068) - - Support pushing down the `str_to_date` function to TiFlash [#2063](https://github.com/pingcap/tics/pull/2063) - -## Others +## 以下 note 未分类。请将以下 note 进行分类 (New feature, Improvements, Bug fixes, Compatibility Changes 四类),并移动到上面对应的标题下。如果某条 note 为多余的,请删除。如果漏抓取了 note,请手动补充 + TiDB @@ -85,21 +85,20 @@ TiDB version: v5.0.3 + TiKV - - ```release-note [#10434](https://github.com/tikv/tikv/pull/10434) - - ```release-note [#10431](https://github.com/tikv/tikv/pull/10431) + - release-note [#10431](https://github.com/tikv/tikv/pull/10431) - Copr: fix the wrong arguments type of json_unquote [#10424](https://github.com/tikv/tikv/pull/10424) - Fix the issue that br reports file already exists error when TDE enabled during restoration. [#10421](https://github.com/tikv/tikv/pull/10421) - This bug does not affects existing releases. [#10417](https://github.com/tikv/tikv/pull/10417) - - ```release-note [#10401](https://github.com/tikv/tikv/pull/10401) - - ```release-note [#10396](https://github.com/tikv/tikv/pull/10396) + - release-note [#10401](https://github.com/tikv/tikv/pull/10401) + - release-note [#10396](https://github.com/tikv/tikv/pull/10396) - Fix a bug that share read index for replica reads on a leader [#10391](https://github.com/tikv/tikv/pull/10391) - - ```release-note [#10388](https://github.com/tikv/tikv/pull/10388) - - ```release-note [#10313](https://github.com/tikv/tikv/pull/10313) + - release-note [#10388](https://github.com/tikv/tikv/pull/10388) + - release-note [#10313](https://github.com/tikv/tikv/pull/10313) - Limit CDC sink memory consumption. [#10305](https://github.com/tikv/tikv/pull/10305) + PD - - ```release-note [#3798](https://github.com/pingcap/pd/pull/3798) + - release-note [#3798](https://github.com/pingcap/pd/pull/3798) + TiFlash diff --git a/releases/release-notes.md b/releases/release-notes.md index 9d9b1983ffe46..d6aec30f4aef5 100644 --- a/releases/release-notes.md +++ b/releases/release-notes.md @@ -6,6 +6,7 @@ title: Release Notes ## 5.0 +- [5.0.3](/releases/release-5.0.3.md) - [5.0.2](/releases/release-5.0.2.md) - [5.0.1](/releases/release-5.0.1.md) - [5.0 GA](/releases/release-5.0.0.md) From 0780a1b0681d2fbf61613a17c1a3a4803ec95131 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Mon, 28 Jun 2021 17:55:45 +0800 Subject: [PATCH 03/27] Apply suggestions from code review Co-authored-by: tangenta --- releases/release-5.0.3.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index 176a9e1bc8fd7..2fc28b8935896 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -21,7 +21,7 @@ TiDB version: 5.0.3 + TiDB - - Planner: push down topN to mpp. [#25162](https://github.com/pingcap/tidb/pull/25162) + - Support planner pushing down the TopN operator to MPP. [#25162](https://github.com/pingcap/tidb/pull/25162) + TiFlash @@ -31,8 +31,8 @@ TiDB version: 5.0.3 + TiDB - - Fix incorrect result of set type for merge join [#25694](https://github.com/pingcap/tidb/pull/25694) - - Expression: fix IN expr critical bug [#25666](https://github.com/pingcap/tidb/pull/25666) + - Fix the issue that an incorrect result is returned when using merge join on the `SET` types. [#25694](https://github.com/pingcap/tidb/pull/25694) + - Fix the `IN` expression arguments corruption issue. [#25666](https://github.com/pingcap/tidb/pull/25666) - Avoid sessions of GC being affected by global variables [#25609](https://github.com/pingcap/tidb/pull/25609) - Make sure limit outputs no more columns than its child [#25517](https://github.com/pingcap/tidb/pull/25517) - Planner: fix a panic caused by sinking a Limit with inlined Proj into IndexLookUp when accessing a partition table [#25139](https://github.com/pingcap/tidb/pull/25139) From 2dea32d8c6479ec110b3d68fa4d790ff53922ed4 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Mon, 28 Jun 2021 19:16:58 +0800 Subject: [PATCH 04/27] Update releases/release-5.0.3.md Co-authored-by: tangenta --- releases/release-5.0.3.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index 2fc28b8935896..d46a766189222 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -22,6 +22,19 @@ TiDB version: 5.0.3 + TiDB - Support planner pushing down the TopN operator to MPP. [#25162](https://github.com/pingcap/tidb/pull/25162) + - Enable the pushdown of builtin function `json_unquote()` to TiKV. [#25720](https://github.com/pingcap/tidb/pull/25720) + - Planner/core: remove the union branch with dual table. [#25614](https://github.com/pingcap/tidb/pull/25614) + - Support push down function replace to TiFlash. [#25565](https://github.com/pingcap/tidb/pull/25565) + - Support push fucntion unix_timestamp,concat,year,day,datediff,datesub,castTimeAsString,concat_ws down to TiFlash. [#25564](https://github.com/pingcap/tidb/pull/25564) + - Planner/core: change agg cost factor [#25241](https://github.com/pingcap/tidb/pull/25241) + - Planner/core: support limit push down [#25159](https://github.com/pingcap/tidb/pull/25159) + - Support pushing down the `str_to_date` functions to TiFlash [#25148](https://github.com/pingcap/tidb/pull/25148) + - Allow mpp outer join to choose the build table based on table row count [#25142](https://github.com/pingcap/tidb/pull/25142) + - Push down left/right/abs to tiflash [#25133](https://github.com/pingcap/tidb/pull/25133) + - Support push down broadcast cartesian join to TiFlash [#25106](https://github.com/pingcap/tidb/pull/25106) + - Planner/core: support union all for mpp. [#25051](https://github.com/pingcap/tidb/pull/25051) + - Balance region for batch cop task [#24724](https://github.com/pingcap/tidb/pull/24724) + - Store/copr: invalidate stale regions for Mpp query. [#24432](https://github.com/pingcap/tidb/pull/24432) + TiFlash From e0ea363055a8494e17cbbf04ef14f2b7a795b53b Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Mon, 28 Jun 2021 19:17:05 +0800 Subject: [PATCH 05/27] Update releases/release-5.0.3.md Co-authored-by: tangenta --- releases/release-5.0.3.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index d46a766189222..8a9f4b0841825 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -56,6 +56,11 @@ TiDB version: 5.0.3 - Fix a nulleq bug [#24633](https://github.com/pingcap/tidb/pull/24633) - Executor: fix data race of parallel apply operator [#24345](https://github.com/pingcap/tidb/pull/24345) - Fix an issue that sorting on index-merge results in partition union reports 'index out of range'. [#24155](https://github.com/pingcap/tidb/pull/24155) + - Do not allow setting read timestamp to a future time. [#25761](https://github.com/pingcap/tidb/pull/25761) + - Fix the issue that ODBC-styled literal(like `{d '2020-01-01'}`...) cannot be used as the expression. [#25577](https://github.com/pingcap/tidb/pull/25577) + - Planner: select distinct should bypass batchget [#25533](https://github.com/pingcap/tidb/pull/25533) + - Store/tikv: change backoff type for missed tiflash peer. [#24600](https://github.com/pingcap/tidb/pull/24600) + - Fix index-out-of-range error when checking only_full_group_by [#24016](https://github.com/pingcap/tidb/pull/24016) + TiFlash From b417959f738806b58ce12b06060e0c0ac9f2dd65 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Mon, 28 Jun 2021 19:17:14 +0800 Subject: [PATCH 06/27] Update releases/release-5.0.3.md Co-authored-by: tangenta --- releases/release-5.0.3.md | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index 8a9f4b0841825..e9dc02fe2900e 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -80,27 +80,6 @@ TiDB version: 5.0.3 ## 以下 note 未分类。请将以下 note 进行分类 (New feature, Improvements, Bug fixes, Compatibility Changes 四类),并移动到上面对应的标题下。如果某条 note 为多余的,请删除。如果漏抓取了 note,请手动补充 -+ TiDB - - - Do not allow setting read timestamp to a future time. [#25761](https://github.com/pingcap/tidb/pull/25761) - - Enable the pushdown of builtin function `json_unquote()` to TiKV. [#25720](https://github.com/pingcap/tidb/pull/25720) - - Planner/core: remove the union branch with dual table. [#25614](https://github.com/pingcap/tidb/pull/25614) - - Fix the issue that ODBC-styled literal(like `{d '2020-01-01'}`...) cannot be used as the expression. [#25577](https://github.com/pingcap/tidb/pull/25577) - - Support push down function replace to TiFlash. [#25565](https://github.com/pingcap/tidb/pull/25565) - - Support push fucntion unix_timestamp,concat,year,day,datediff,datesub,castTimeAsString,concat_ws down to TiFlash. [#25564](https://github.com/pingcap/tidb/pull/25564) - - Planner: select distinct should bypass batchget [#25533](https://github.com/pingcap/tidb/pull/25533) - - Planner/core: change agg cost factor [#25241](https://github.com/pingcap/tidb/pull/25241) - - Planner/core: support limit push down [#25159](https://github.com/pingcap/tidb/pull/25159) - - Support pushing down the `str_to_date` functions to TiFlash [#25148](https://github.com/pingcap/tidb/pull/25148) - - Allow mpp outer join to choose the build table based on table row count [#25142](https://github.com/pingcap/tidb/pull/25142) - - Push down left/right/abs to tiflash [#25133](https://github.com/pingcap/tidb/pull/25133) - - Support push down broadcast cartesian join to TiFlash [#25106](https://github.com/pingcap/tidb/pull/25106) - - Planner/core: support union all for mpp. [#25051](https://github.com/pingcap/tidb/pull/25051) - - Balance region for batch cop task [#24724](https://github.com/pingcap/tidb/pull/24724) - - Store/tikv: change backoff type for missed tiflash peer. [#24600](https://github.com/pingcap/tidb/pull/24600) - - Store/copr: invalidate stale regions for Mpp query. [#24432](https://github.com/pingcap/tidb/pull/24432) - - Fix index-out-of-range error when checking only_full_group_by [#24016](https://github.com/pingcap/tidb/pull/24016) - + TiKV - release-note [#10431](https://github.com/tikv/tikv/pull/10431) From 4c73a73cda6824725dfb9d86762cdd3c07ad5a47 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Mon, 28 Jun 2021 19:45:10 +0800 Subject: [PATCH 07/27] add tiflash notes --- releases/release-5.0.3.md | 38 ++++++++++++++++---------------------- 1 file changed, 16 insertions(+), 22 deletions(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index e9dc02fe2900e..05fba6ca5dd83 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -12,11 +12,6 @@ TiDB version: 5.0.3 ## New Features -+ TiFlash - - - Support cast string as double push down [#2068](https://github.com/pingcap/tics/pull/2068) - - Support pushing down the `str_to_date` function to TiFlash [#2063](https://github.com/pingcap/tics/pull/2063) - ## Improvements + TiDB @@ -38,7 +33,13 @@ TiDB version: 5.0.3 + TiFlash - - Use multi threads for not joined data in right outer join. [#2094](https://github.com/pingcap/tics/pull/2094) + - Support casting the `STRING` type to `DOUBLE` type + - Support `STR_TO_DATE` function + - Optimize non-joined data in right outer join by multi-threads + - Support cartesian join + - Support `LEFT` and `RIGHT` function + - Invalidate stale regions for MPP queries + - Support `ABS` function ## Bug Fixes @@ -64,19 +65,21 @@ TiDB version: 5.0.3 + TiFlash - - Fix the issue that TiFlash nodes keep restart because of split failure. [#2219](https://github.com/pingcap/tics/pull/2219) - - Fix the bug that TiFlash can not GC delta data under rare case [#2185](https://github.com/pingcap/tics/pull/2185) - - Fix the bug that tiflash wrongly add padding for non-binary chars in cast function [#2092](https://github.com/pingcap/tics/pull/2092) - - Fix a bug that aggregation query with complex group by column may got wrong results. [#2072](https://github.com/pingcap/tics/pull/2072) - - Fix the bug that TiFlash may panic under heavy write pressure [#2055](https://github.com/pingcap/tics/pull/2055) + - Fix the issue that TiFlash keeps restarting because of split failure + - Fix the potential issue that TiFlash can not GC delta data + - Fix the bug that TiFlash adds wrong padding for non-binary chars in `CAST` function + - Fix the issue of incorrect results when handling aggregation queries with complex `GROUP BY` columns + - Fix the TiFlash panic issue that occurs under heavy write pressure + - Fix the panic that occurs when right join if the right jon key is not nullalbe and the left join key is nullable + - Fix the potential issue that read-index requests cost long time + Tools - BR * Fix parquet parse when parse decimal type [#1277](https://github.com/pingcap/br/pull/1277) - * Fix the bug that lightning returns EOF error when CSV file without '\r\n' at the last line and `strict-format = true`. [#1189](https://github.com/pingcap/br/pull/1189) - * Fix the bug that lightning rebase wrong auto_increment base when the auto_increment field type is float or double. [#1186](https://github.com/pingcap/br/pull/1186) + * Fix the bug that lightning returns EOF error when CSV file without '\r\n' at the last line and `strict-format = true` [#1189](https://github.com/pingcap/br/pull/1189) + * Fix the bug that lightning rebase wrong auto_increment base when the auto_increment field type is float or double [#1186](https://github.com/pingcap/br/pull/1186) ## 以下 note 未分类。请将以下 note 进行分类 (New feature, Improvements, Bug fixes, Compatibility Changes 四类),并移动到上面对应的标题下。如果某条 note 为多余的,请删除。如果漏抓取了 note,请手动补充 @@ -97,15 +100,6 @@ TiDB version: 5.0.3 - release-note [#3798](https://github.com/pingcap/pd/pull/3798) -+ TiFlash - - - Fix segment fault for right join if the right jon key is not nullalbe and the left join key is nullable [#2201](https://github.com/pingcap/tics/pull/2201) - - Fix the potential issue that read-index requests cost long time [#2091](https://github.com/pingcap/tics/pull/2091) - - Support cartesian join in TiFlash [#2078](https://github.com/pingcap/tics/pull/2078) - - Push down Left/right to tiflash [#2076](https://github.com/pingcap/tics/pull/2076) - - Push down abs() to tiflash [#2075](https://github.com/pingcap/tics/pull/2075) - - Invalidate stale regions for Mpp query. [#1877](https://github.com/pingcap/tics/pull/1877) - + Tools - TiCDC From c6bee1bed73d339fd488c354785d15901f3a56f4 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Tue, 29 Jun 2021 11:20:59 +0800 Subject: [PATCH 08/27] add tikv notes --- releases/release-5.0.3.md | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index 05fba6ca5dd83..6aff9a6edfb41 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -31,6 +31,11 @@ TiDB version: 5.0.3 - Balance region for batch cop task [#24724](https://github.com/pingcap/tidb/pull/24724) - Store/copr: invalidate stale regions for Mpp query. [#24432](https://github.com/pingcap/tidb/pull/24432) ++ TiKV + + - CDC: limit CDC sink memory consumption [#10305](https://github.com/tikv/tikv/pull/10305) + - CDC: change old value cache to memory-bounded [#10313](https://github.com/tikv/tikv/pull/10313) + + TiFlash - Support casting the `STRING` type to `DOUBLE` type @@ -63,6 +68,15 @@ TiDB version: 5.0.3 - Store/tikv: change backoff type for missed tiflash peer. [#24600](https://github.com/pingcap/tidb/pull/24600) - Fix index-out-of-range error when checking only_full_group_by [#24016](https://github.com/pingcap/tidb/pull/24016) ++ TiKV + + - Fix wrong tikv_raftstore_hibernated_peer_state metric [#10431](https://github.com/tikv/tikv/pull/10431) + - Copr: fix the wrong arguments type of json_unquote [#10424](https://github.com/tikv/tikv/pull/10424) + - Fix the issue that br reports file already exists error when TDE enabled during restoration [#10421](https://github.com/tikv/tikv/pull/10421) + - Skip clearing callback during graceful shutdown to avoid breaking ACID in some cases [#10396](https://github.com/tikv/tikv/pull/10396) + - Fix the bug that share read index for replica reads on a leader [#10391](https://github.com/tikv/tikv/pull/10391) + - Copr: fix wrong function cast double to double [#10388](https://github.com/tikv/tikv/pull/10388) + + TiFlash - Fix the issue that TiFlash keeps restarting because of split failure @@ -83,19 +97,6 @@ TiDB version: 5.0.3 ## 以下 note 未分类。请将以下 note 进行分类 (New feature, Improvements, Bug fixes, Compatibility Changes 四类),并移动到上面对应的标题下。如果某条 note 为多余的,请删除。如果漏抓取了 note,请手动补充 -+ TiKV - - - release-note [#10431](https://github.com/tikv/tikv/pull/10431) - - Copr: fix the wrong arguments type of json_unquote [#10424](https://github.com/tikv/tikv/pull/10424) - - Fix the issue that br reports file already exists error when TDE enabled during restoration. [#10421](https://github.com/tikv/tikv/pull/10421) - - This bug does not affects existing releases. [#10417](https://github.com/tikv/tikv/pull/10417) - - release-note [#10401](https://github.com/tikv/tikv/pull/10401) - - release-note [#10396](https://github.com/tikv/tikv/pull/10396) - - Fix a bug that share read index for replica reads on a leader [#10391](https://github.com/tikv/tikv/pull/10391) - - release-note [#10388](https://github.com/tikv/tikv/pull/10388) - - release-note [#10313](https://github.com/tikv/tikv/pull/10313) - - Limit CDC sink memory consumption. [#10305](https://github.com/tikv/tikv/pull/10305) - + PD - release-note [#3798](https://github.com/pingcap/pd/pull/3798) From c028ea805efbe9c61337b25c2e81c13bd605cd72 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Tue, 29 Jun 2021 15:12:07 +0800 Subject: [PATCH 09/27] modify and edit notes for tidb, tikv and tiflash --- releases/release-5.0.3.md | 100 +++++++++++++++++++------------------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index 6aff9a6edfb41..be0fb45c7c9d5 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -16,76 +16,76 @@ TiDB version: 5.0.3 + TiDB - - Support planner pushing down the TopN operator to MPP. [#25162](https://github.com/pingcap/tidb/pull/25162) - - Enable the pushdown of builtin function `json_unquote()` to TiKV. [#25720](https://github.com/pingcap/tidb/pull/25720) - - Planner/core: remove the union branch with dual table. [#25614](https://github.com/pingcap/tidb/pull/25614) - - Support push down function replace to TiFlash. [#25565](https://github.com/pingcap/tidb/pull/25565) - - Support push fucntion unix_timestamp,concat,year,day,datediff,datesub,castTimeAsString,concat_ws down to TiFlash. [#25564](https://github.com/pingcap/tidb/pull/25564) - - Planner/core: change agg cost factor [#25241](https://github.com/pingcap/tidb/pull/25241) - - Planner/core: support limit push down [#25159](https://github.com/pingcap/tidb/pull/25159) - - Support pushing down the `str_to_date` functions to TiFlash [#25148](https://github.com/pingcap/tidb/pull/25148) - - Allow mpp outer join to choose the build table based on table row count [#25142](https://github.com/pingcap/tidb/pull/25142) - - Push down left/right/abs to tiflash [#25133](https://github.com/pingcap/tidb/pull/25133) - - Support push down broadcast cartesian join to TiFlash [#25106](https://github.com/pingcap/tidb/pull/25106) - - Planner/core: support union all for mpp. [#25051](https://github.com/pingcap/tidb/pull/25051) - - Balance region for batch cop task [#24724](https://github.com/pingcap/tidb/pull/24724) - - Store/copr: invalidate stale regions for Mpp query. [#24432](https://github.com/pingcap/tidb/pull/24432) + - Support pushing down the `TopN` operator to TiFlash [#25162](https://github.com/pingcap/tidb/pull/25162) + - Support pushing down the built-in function `json_unquote()` to TiKV [#25720](https://github.com/pingcap/tidb/pull/25720) + - Support removing the union branch from the dual table [#25614](https://github.com/pingcap/tidb/pull/25614) + - Support pushing down the built-in function `replace()` to TiFlash [#25565](https://github.com/pingcap/tidb/pull/25565) + - Support pushing down the built-in functions `unix_timestamp()`, `concat()`, `year()`, `day()`, `datediff()`, `datesub()`, `castTimeAsString()`, and `concat_ws()` to TiFlash [#25564](https://github.com/pingcap/tidb/pull/25564) + - Change the aggregate operator's cost factor [#25241](https://github.com/pingcap/tidb/pull/25241) + - Support pushing down the `Limit` operator to TiFlash [#25159](https://github.com/pingcap/tidb/pull/25159) + - Support pushing down the built-in function `str_to_date` to TiFlash [#25148](https://github.com/pingcap/tidb/pull/25148) + - Allow the MPP outer join to choose the build table based on the table row count [#25142](https://github.com/pingcap/tidb/pull/25142) + - Support pushing down the built-in functions `left()`, `right()`, and `abs()` to TiFlash [#25133](https://github.com/pingcap/tidb/pull/25133) + - Support pushing down the Broadcast Cartesian join to TiFlash [#25106](https://github.com/pingcap/tidb/pull/25106) + - Support pushing down the `Union All` operator to TiFlash [#25051](https://github.com/pingcap/tidb/pull/25051) + - Support balancing the MPP query workload among different TiFlash nodes based on Regions [#24724](https://github.com/pingcap/tidb/pull/24724) + - Support invalidating stale Regions in the cache after the MPP query is executed [#24432](https://github.com/pingcap/tidb/pull/24432) + TiKV - - CDC: limit CDC sink memory consumption [#10305](https://github.com/tikv/tikv/pull/10305) - - CDC: change old value cache to memory-bounded [#10313](https://github.com/tikv/tikv/pull/10313) + - Limit the TiCDC sink's memory consumption [#10305](https://github.com/tikv/tikv/pull/10305) + - Add the memory-bounded upper limit for the TiCDC old value cache [#10313](https://github.com/tikv/tikv/pull/10313) + TiFlash - - Support casting the `STRING` type to `DOUBLE` type - - Support `STR_TO_DATE` function - - Optimize non-joined data in right outer join by multi-threads - - Support cartesian join - - Support `LEFT` and `RIGHT` function - - Invalidate stale regions for MPP queries - - Support `ABS` function + - Support casting the `STRING` type to the `DOUBLE` type + - Support the `STR_TO_DATE` function + - Optimize the non-joined data in right outer join using multiple threads + - Support the Cartesian join + - Support the `LEFT()` and `RIGHT()` functions + - Support automatically invalidating stale Regions in MPP queries + - Support the `ABS()` function ## Bug Fixes + TiDB - - Fix the issue that an incorrect result is returned when using merge join on the `SET` types. [#25694](https://github.com/pingcap/tidb/pull/25694) - - Fix the `IN` expression arguments corruption issue. [#25666](https://github.com/pingcap/tidb/pull/25666) - - Avoid sessions of GC being affected by global variables [#25609](https://github.com/pingcap/tidb/pull/25609) - - Make sure limit outputs no more columns than its child [#25517](https://github.com/pingcap/tidb/pull/25517) - - Planner: fix a panic caused by sinking a Limit with inlined Proj into IndexLookUp when accessing a partition table [#25139](https://github.com/pingcap/tidb/pull/25139) - - Executor: fix ifnull bug when arg is enum/set [#25116](https://github.com/pingcap/tidb/pull/25116) - - Generate correct number of rows when all agg funcs are pruned [#25062](https://github.com/pingcap/tidb/pull/25062) - - Executor: make the ParallelApply be safe to be called again after returning empty results [#25011](https://github.com/pingcap/tidb/pull/25011) - - Fix the case that there could be duplicate ranges for multi-column index. [#24635](https://github.com/pingcap/tidb/pull/24635) - - Fix a nulleq bug [#24633](https://github.com/pingcap/tidb/pull/24633) - - Executor: fix data race of parallel apply operator [#24345](https://github.com/pingcap/tidb/pull/24345) - - Fix an issue that sorting on index-merge results in partition union reports 'index out of range'. [#24155](https://github.com/pingcap/tidb/pull/24155) - - Do not allow setting read timestamp to a future time. [#25761](https://github.com/pingcap/tidb/pull/25761) - - Fix the issue that ODBC-styled literal(like `{d '2020-01-01'}`...) cannot be used as the expression. [#25577](https://github.com/pingcap/tidb/pull/25577) - - Planner: select distinct should bypass batchget [#25533](https://github.com/pingcap/tidb/pull/25533) - - Store/tikv: change backoff type for missed tiflash peer. [#24600](https://github.com/pingcap/tidb/pull/24600) - - Fix index-out-of-range error when checking only_full_group_by [#24016](https://github.com/pingcap/tidb/pull/24016) + - Fix the issue that an incorrect result is returned when using merge join on the `SET` type column [#25694](https://github.com/pingcap/tidb/pull/25694) + - Fix the data corruption issue in the `IN` expression's arguments [#25666](https://github.com/pingcap/tidb/pull/25666) + - Avoid the sessions of GC being affected by global variables [#25609](https://github.com/pingcap/tidb/pull/25609) + - Fix the panic issue that occurs when using `limit` in the window function queries [#25517](https://github.com/pingcap/tidb/pull/25517) + - Fix the wrong value returned when querying a partitioned table using `Limit` [#25139](https://github.com/pingcap/tidb/pull/25139) + - Fix the issue that `IFNULL` does not correctly take effect on the `ENUM` or `SET` type column [#25116](https://github.com/pingcap/tidb/pull/25116) + - Fix the wrong results caused by changing the `count` in the join subqueries to `first_row` [#25062](https://github.com/pingcap/tidb/pull/25062) + - Fix the query hang issue that occurs when `ParallelApply` is used under the `TopN` operator [#25011](https://github.com/pingcap/tidb/pull/25011) + - Fix the issue that more results than expected are returned when executing SQL statements using multi-column prefix indexes [#24635](https://github.com/pingcap/tidb/pull/24635) + - Fix the issue that the `<=>` operator cannot correctly take effect [#24633](https://github.com/pingcap/tidb/pull/24633) + - Fix the data race issue of the parallel `Apply` operator [#24345](https://github.com/pingcap/tidb/pull/24345) + ?- Fix the issue that the sorting on `IndexMerge` results in the partition union reports the `index out of range` error [#24155](https://github.com/pingcap/tidb/pull/24155) + - Do not allow setting a read timestamp to a future time [#25761](https://github.com/pingcap/tidb/pull/25761) + - Fix the issue that the ODBC-styled constant (for example, `{d '2020-01-01'}`) cannot be used as the expression [#25577](https://github.com/pingcap/tidb/pull/25577) + - Fix the issue that `SELECT DISTINCT` converted to `Batch Get` causes incorrect results [#25533](https://github.com/pingcap/tidb/pull/25533) + - Fix the issue that backing off queries from TiFlash to TiKV cannot be triggered [#24600](https://github.com/pingcap/tidb/pull/24600) + - Fix the `index-out-of-range` error that occurs when checking `only_full_group_by` [#24016](https://github.com/pingcap/tidb/pull/24016) + TiKV - - Fix wrong tikv_raftstore_hibernated_peer_state metric [#10431](https://github.com/tikv/tikv/pull/10431) - - Copr: fix the wrong arguments type of json_unquote [#10424](https://github.com/tikv/tikv/pull/10424) - - Fix the issue that br reports file already exists error when TDE enabled during restoration [#10421](https://github.com/tikv/tikv/pull/10421) + - Fix the wrong `tikv_raftstore_hibernated_peer_state` metric [#10431](https://github.com/tikv/tikv/pull/10431) + - Fix the wrong arguments type of the `json_unquote()` function in the coprocessor [#10424](https://github.com/tikv/tikv/pull/10424) + - Fix the issue that Backup & Restore reports the error of "file already exists" when TDE is enabled during the restore [#10421](https://github.com/tikv/tikv/pull/10421) - Skip clearing callback during graceful shutdown to avoid breaking ACID in some cases [#10396](https://github.com/tikv/tikv/pull/10396) - - Fix the bug that share read index for replica reads on a leader [#10391](https://github.com/tikv/tikv/pull/10391) - - Copr: fix wrong function cast double to double [#10388](https://github.com/tikv/tikv/pull/10388) + - Fix a bug that the read index is shared for replica reads on a Leader [#10391](https://github.com/tikv/tikv/pull/10391) + - Fix the wrong function that casts `DOUBLE` to `DOUBLE` [#10388](https://github.com/tikv/tikv/pull/10388) + TiFlash - - Fix the issue that TiFlash keeps restarting because of split failure - - Fix the potential issue that TiFlash can not GC delta data - - Fix the bug that TiFlash adds wrong padding for non-binary chars in `CAST` function + - Fix the issue that TiFlash keeps restarting because of the split failure + ?- Fix the potential issue that TiFlash cannot GC delta data + - Fix a bug that TiFlash adds wrong padding for non-binary characters in the `CAST` function - Fix the issue of incorrect results when handling aggregation queries with complex `GROUP BY` columns - Fix the TiFlash panic issue that occurs under heavy write pressure - - Fix the panic that occurs when right join if the right jon key is not nullalbe and the left join key is nullable - - Fix the potential issue that read-index requests cost long time + - Fix the panic that occurs when the right jon key is not nullalbe and the left join key is nullable + - Fix the potential issue that the `read-index` requests take a long time + Tools From 5ded6537b65d08e4e16022bba2d44e1423920566 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Tue, 29 Jun 2021 18:07:49 +0800 Subject: [PATCH 10/27] add tools notes --- releases/release-5.0.3.md | 54 ++++++++++++++++++++++++--------------- 1 file changed, 33 insertions(+), 21 deletions(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index be0fb45c7c9d5..fd509a3afd1e5 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -8,10 +8,16 @@ Release date: June 30, 2021 TiDB version: 5.0.3 -## Compatibility Changes - ## New Features ++ Tools + + + TiCDC + + - Add an HTTP API to get the changefeed information and the health information of the node [#1955](https://github.com/pingcap/ticdc/pull/1955) + - Add the SASL/SCRAM support for the kafka sink [#1942](https://github.com/pingcap/ticdc/pull/1942) + - Makes TiCDC support `--data-dir` at the server level [#2070](https://github.com/pingcap/ticdc/pull/2070) + ## Improvements + TiDB @@ -36,6 +42,10 @@ TiDB version: 5.0.3 - Limit the TiCDC sink's memory consumption [#10305](https://github.com/tikv/tikv/pull/10305) - Add the memory-bounded upper limit for the TiCDC old value cache [#10313](https://github.com/tikv/tikv/pull/10313) ++ PD + + - Update TiDB Dashboard to v2021.06.15.1 [#3798](https://github.com/pingcap/pd/pull/3798) + + TiFlash - Support casting the `STRING` type to the `DOUBLE` type @@ -46,6 +56,13 @@ TiDB version: 5.0.3 - Support automatically invalidating stale Regions in MPP queries - Support the `ABS()` function ++ Tools + + + TiCDC + + - Refine gRPC's reconnection logic and increase the KV client's throughput [#1922](https://github.com/pingcap/ticdc/pull/1922) + - Make the sorter I/O errors more user-friendly [#1977](https://github.com/pingcap/ticdc/pull/1977) + ## Bug Fixes + TiDB @@ -89,27 +106,22 @@ TiDB version: 5.0.3 + Tools - - BR + + TiCDC - * Fix parquet parse when parse decimal type [#1277](https://github.com/pingcap/br/pull/1277) - * Fix the bug that lightning returns EOF error when CSV file without '\r\n' at the last line and `strict-format = true` [#1189](https://github.com/pingcap/br/pull/1189) - * Fix the bug that lightning rebase wrong auto_increment base when the auto_increment field type is float or double [#1186](https://github.com/pingcap/br/pull/1186) + - Fix the issue that TiCDC owner exits when refreshing the checkpoint [#2031](https://github.com/pingcap/ticdc/pull/2031) + - Fix a bug that some MySQL connection might leak after MySQL sink meets the error and pauses [#1946](https://github.com/pingcap/ticdc/pull/1946) + - Fix the panic issue that occurs when TiCDC fails to read `/proc/meminfo` [#2024](https://github.com/pingcap/ticdc/pull/2024) + - Reduce TiCDC's runtime memory consumption [#2012](https://github.com/pingcap/ticdc/pull/2012), [#1958](https://github.com/pingcap/ticdc/pull/1958) + - Fix a bug that might cause TiCDC server panic due to the late calculation of resolved ts [#2047](https://github.com/pingcap/ticdc/pull/2047) + - Fix the potential deadlock issue for the processor [#2142](https://github.com/pingcap/ticdc/pull/2142) -## 以下 note 未分类。请将以下 note 进行分类 (New feature, Improvements, Bug fixes, Compatibility Changes 四类),并移动到上面对应的标题下。如果某条 note 为多余的,请删除。如果漏抓取了 note,请手动补充 + + Backup & Restore (BR) -+ PD - - - release-note [#3798](https://github.com/pingcap/pd/pull/3798) - -+ Tools + - Fix a bug that all system tables are filtered during restore [#1224](https://github.com/pingcap/br/pull/1224) - - TiCDC + + TiDB Lightning - * Fix potential deadlocks [#2142](https://github.com/pingcap/ticdc/pull/2142) - * Fix a bug that could cause cdc server panic because of the late calculation of resolved ts [#2047](https://github.com/pingcap/ticdc/pull/2047) - * Fix panic when TiCDC fails to read `/proc/meminfo` [#2024](https://github.com/pingcap/ticdc/pull/2024) - * Reduce unnecessary memory consumption [#2012](https://github.com/pingcap/ticdc/pull/2012) - * Make sorter IO errors more user-friendly. [#1977](https://github.com/pingcap/ticdc/pull/1977) - * Fix Unified Sorter memory consumption when tables are many. [#1958](https://github.com/pingcap/ticdc/pull/1958) - * Decrease the default gRPC connection pool size to decrease goroutines count. [#1951](https://github.com/pingcap/ticdc/pull/1951) - * Fix a bug that some MySQL connection could leak after MySQL sink meets error and pauses. [#1946](https://github.com/pingcap/ticdc/pull/1946) + - Fix the TiDB Lightning panic issue for some special data [#1268](https://github.com/pingcap/br/pull/1268) + - Fix the EOF error reported when TiDB Lightning splits the imported large CSV files [#1189](https://github.com/pingcap/br/pull/1189) + ?- Fix a bug that TiDB Lightning rebase wrong `auto_increment` base when the `auto_increment` field type is `FLOAT` or `DOUBLE` [#1186](https://github.com/pingcap/br/pull/1186) + - Fix the issue that TiDB fails to parse the `DECIMAL` type data in Parquet files [#1277](https://github.com/pingcap/br/pull/1277) From 722772b0ca42c12c30b47b749b963ae8f30fe69a Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Tue, 29 Jun 2021 19:22:17 +0800 Subject: [PATCH 11/27] Apply suggestions from code review --- releases/release-5.0.3.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index fd509a3afd1e5..19e97f168c5c6 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -78,7 +78,7 @@ TiDB version: 5.0.3 - Fix the issue that more results than expected are returned when executing SQL statements using multi-column prefix indexes [#24635](https://github.com/pingcap/tidb/pull/24635) - Fix the issue that the `<=>` operator cannot correctly take effect [#24633](https://github.com/pingcap/tidb/pull/24633) - Fix the data race issue of the parallel `Apply` operator [#24345](https://github.com/pingcap/tidb/pull/24345) - ?- Fix the issue that the sorting on `IndexMerge` results in the partition union reports the `index out of range` error [#24155](https://github.com/pingcap/tidb/pull/24155) + - Fix the issue that the `index out of range` error is reported when sorting the IndexMerge results of the PartitionUnion operator [#24155](https://github.com/pingcap/tidb/pull/24155) - Do not allow setting a read timestamp to a future time [#25761](https://github.com/pingcap/tidb/pull/25761) - Fix the issue that the ODBC-styled constant (for example, `{d '2020-01-01'}`) cannot be used as the expression [#25577](https://github.com/pingcap/tidb/pull/25577) - Fix the issue that `SELECT DISTINCT` converted to `Batch Get` causes incorrect results [#25533](https://github.com/pingcap/tidb/pull/25533) @@ -97,7 +97,7 @@ TiDB version: 5.0.3 + TiFlash - Fix the issue that TiFlash keeps restarting because of the split failure - ?- Fix the potential issue that TiFlash cannot GC delta data + - Fix the potential issue that TiFlash cannot delete the delta data - Fix a bug that TiFlash adds wrong padding for non-binary characters in the `CAST` function - Fix the issue of incorrect results when handling aggregation queries with complex `GROUP BY` columns - Fix the TiFlash panic issue that occurs under heavy write pressure From 537d9d2977e4a311b912a226323815d41736b285 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Thu, 1 Jul 2021 11:46:06 +0800 Subject: [PATCH 12/27] Apply suggestions from code review Co-authored-by: tangenta Co-authored-by: JaySon --- releases/release-5.0.3.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index 19e97f168c5c6..c6ab14810d9be 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -27,7 +27,7 @@ TiDB version: 5.0.3 - Support removing the union branch from the dual table [#25614](https://github.com/pingcap/tidb/pull/25614) - Support pushing down the built-in function `replace()` to TiFlash [#25565](https://github.com/pingcap/tidb/pull/25565) - Support pushing down the built-in functions `unix_timestamp()`, `concat()`, `year()`, `day()`, `datediff()`, `datesub()`, `castTimeAsString()`, and `concat_ws()` to TiFlash [#25564](https://github.com/pingcap/tidb/pull/25564) - - Change the aggregate operator's cost factor [#25241](https://github.com/pingcap/tidb/pull/25241) + - Optimize the aggregate operator's cost factor [#25241](https://github.com/pingcap/tidb/pull/25241) - Support pushing down the `Limit` operator to TiFlash [#25159](https://github.com/pingcap/tidb/pull/25159) - Support pushing down the built-in function `str_to_date` to TiFlash [#25148](https://github.com/pingcap/tidb/pull/25148) - Allow the MPP outer join to choose the build table based on the table row count [#25142](https://github.com/pingcap/tidb/pull/25142) @@ -36,6 +36,7 @@ TiDB version: 5.0.3 - Support pushing down the `Union All` operator to TiFlash [#25051](https://github.com/pingcap/tidb/pull/25051) - Support balancing the MPP query workload among different TiFlash nodes based on Regions [#24724](https://github.com/pingcap/tidb/pull/24724) - Support invalidating stale Regions in the cache after the MPP query is executed [#24432](https://github.com/pingcap/tidb/pull/24432) + - Improve the MySQL compatibility of the built-in function `str_to_date` for the format specifiers `%b/%M/%r/%T` [#25767](https://github.com/pingcap/tidb/pull/25767) + TiKV @@ -84,6 +85,8 @@ TiDB version: 5.0.3 - Fix the issue that `SELECT DISTINCT` converted to `Batch Get` causes incorrect results [#25533](https://github.com/pingcap/tidb/pull/25533) - Fix the issue that backing off queries from TiFlash to TiKV cannot be triggered [#24600](https://github.com/pingcap/tidb/pull/24600) - Fix the `index-out-of-range` error that occurs when checking `only_full_group_by` [#24016](https://github.com/pingcap/tidb/pull/24016) + - Fix the issue that queries with `TABLESAMPLE` on an empty table returns unexpected rows [#25795](https://github.com/pingcap/tidb/pull/25795) + - Fix the issue that the result of index join in correlated subqueries is wrong [#25818](https://github.com/pingcap/tidb/pull/25818) + TiKV @@ -103,6 +106,7 @@ TiDB version: 5.0.3 - Fix the TiFlash panic issue that occurs under heavy write pressure - Fix the panic that occurs when the right jon key is not nullalbe and the left join key is nullable - Fix the potential issue that the `read-index` requests take a long time + - Fix the panic issue that occurs when the read load is heavy + Tools @@ -123,5 +127,5 @@ TiDB version: 5.0.3 - Fix the TiDB Lightning panic issue for some special data [#1268](https://github.com/pingcap/br/pull/1268) - Fix the EOF error reported when TiDB Lightning splits the imported large CSV files [#1189](https://github.com/pingcap/br/pull/1189) - ?- Fix a bug that TiDB Lightning rebase wrong `auto_increment` base when the `auto_increment` field type is `FLOAT` or `DOUBLE` [#1186](https://github.com/pingcap/br/pull/1186) + - Fix a bug that an excessively large base value is generated when TiDB Lightning imports tables with the `auto_increment` column of the `FLOAT` or `DOUBLE` type [#1186](https://github.com/pingcap/br/pull/1186) - Fix the issue that TiDB fails to parse the `DECIMAL` type data in Parquet files [#1277](https://github.com/pingcap/br/pull/1277) From d392f2ca83b7f1bc582332a1d6a3d0016af91c06 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Thu, 1 Jul 2021 11:46:54 +0800 Subject: [PATCH 13/27] Update releases/release-5.0.3.md --- releases/release-5.0.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index c6ab14810d9be..c52e3c8c5991d 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -4,7 +4,7 @@ title: TiDB 5.0.3 Release Notes # TiDB 5.0.3 Release Notes -Release date: June 30, 2021 +Release date: July 2, 2021 TiDB version: 5.0.3 From 23bb68ba3749077bbed7f3266aee3feb877afa96 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Thu, 1 Jul 2021 14:24:54 +0800 Subject: [PATCH 14/27] Update releases/release-5.0.3.md Co-authored-by: tangenta --- releases/release-5.0.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index c52e3c8c5991d..1d80f036e24d6 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -26,7 +26,7 @@ TiDB version: 5.0.3 - Support pushing down the built-in function `json_unquote()` to TiKV [#25720](https://github.com/pingcap/tidb/pull/25720) - Support removing the union branch from the dual table [#25614](https://github.com/pingcap/tidb/pull/25614) - Support pushing down the built-in function `replace()` to TiFlash [#25565](https://github.com/pingcap/tidb/pull/25565) - - Support pushing down the built-in functions `unix_timestamp()`, `concat()`, `year()`, `day()`, `datediff()`, `datesub()`, `castTimeAsString()`, and `concat_ws()` to TiFlash [#25564](https://github.com/pingcap/tidb/pull/25564) + - Support pushing down the built-in functions `unix_timestamp()`, `concat()`, `year()`, `day()`, `datediff()`, `datesub()`, and `concat_ws()` to TiFlash [#25564](https://github.com/pingcap/tidb/pull/25564) - Optimize the aggregate operator's cost factor [#25241](https://github.com/pingcap/tidb/pull/25241) - Support pushing down the `Limit` operator to TiFlash [#25159](https://github.com/pingcap/tidb/pull/25159) - Support pushing down the built-in function `str_to_date` to TiFlash [#25148](https://github.com/pingcap/tidb/pull/25148) From 5c540495958fae14b63c7a062aa3c40701c49ffb Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Thu, 1 Jul 2021 15:32:42 +0800 Subject: [PATCH 15/27] Update releases/release-5.0.3.md Co-authored-by: ShuNing --- releases/release-5.0.3.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index 1d80f036e24d6..1aaeb979e467b 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -96,6 +96,12 @@ TiDB version: 5.0.3 - Skip clearing callback during graceful shutdown to avoid breaking ACID in some cases [#10396](https://github.com/tikv/tikv/pull/10396) - Fix a bug that the read index is shared for replica reads on a Leader [#10391](https://github.com/tikv/tikv/pull/10391) - Fix the wrong function that casts `DOUBLE` to `DOUBLE` [#10388](https://github.com/tikv/tikv/pull/10388) ++ PD + + - Fix the data race issue that occurs when loading TTL configurations after the scheduler is started [#3774](https://github.com/tikv/pd/pull/3774) + - Fix a bug that the `is_learner` field of the `TIKV_REGION_PEERS` table in TiDB is incorrect [#3743](https://github.com/tikv/pd/pull/3743) + - Fix the issue that when all TiKV nodes in a zone are offline or down, PD does not schedule replicas to other zones [#3742](https://github.com/tikv/pd/pull/3742) + - Fix the issue that PD might get panic after the scatter Region scheduler is added [#3762](https://github.com/tikv/pd/pull/3762) + TiFlash From 0109f6230388da25c411fbef978ed4d7f2f98b93 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Thu, 1 Jul 2021 16:24:52 +0800 Subject: [PATCH 16/27] change pr to issue in bug fix section --- releases/release-5.0.3.md | 64 +++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index 1aaeb979e467b..6b2206eacad05 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -68,39 +68,39 @@ TiDB version: 5.0.3 + TiDB - - Fix the issue that an incorrect result is returned when using merge join on the `SET` type column [#25694](https://github.com/pingcap/tidb/pull/25694) - - Fix the data corruption issue in the `IN` expression's arguments [#25666](https://github.com/pingcap/tidb/pull/25666) - - Avoid the sessions of GC being affected by global variables [#25609](https://github.com/pingcap/tidb/pull/25609) - - Fix the panic issue that occurs when using `limit` in the window function queries [#25517](https://github.com/pingcap/tidb/pull/25517) - - Fix the wrong value returned when querying a partitioned table using `Limit` [#25139](https://github.com/pingcap/tidb/pull/25139) - - Fix the issue that `IFNULL` does not correctly take effect on the `ENUM` or `SET` type column [#25116](https://github.com/pingcap/tidb/pull/25116) - - Fix the wrong results caused by changing the `count` in the join subqueries to `first_row` [#25062](https://github.com/pingcap/tidb/pull/25062) - - Fix the query hang issue that occurs when `ParallelApply` is used under the `TopN` operator [#25011](https://github.com/pingcap/tidb/pull/25011) - - Fix the issue that more results than expected are returned when executing SQL statements using multi-column prefix indexes [#24635](https://github.com/pingcap/tidb/pull/24635) - - Fix the issue that the `<=>` operator cannot correctly take effect [#24633](https://github.com/pingcap/tidb/pull/24633) - - Fix the data race issue of the parallel `Apply` operator [#24345](https://github.com/pingcap/tidb/pull/24345) - - Fix the issue that the `index out of range` error is reported when sorting the IndexMerge results of the PartitionUnion operator [#24155](https://github.com/pingcap/tidb/pull/24155) + - Fix the issue that an incorrect result is returned when using merge join on the `SET` type column [#25669](https://github.com/pingcap/tidb/issues/25669) + - Fix the data corruption issue in the `IN` expression's arguments [#25591](https://github.com/pingcap/tidb/issues/25591) + - Avoid the sessions of GC being affected by global variables [#24976](https://github.com/pingcap/tidb/issues/24976) + - Fix the panic issue that occurs when using `limit` in the window function queries [#25344](https://github.com/pingcap/tidb/issues/25344) + - Fix the wrong value returned when querying a partitioned table using `Limit` [#24636](https://github.com/pingcap/tidb/issues/24636) + - Fix the issue that `IFNULL` does not correctly take effect on the `ENUM` or `SET` type column [#24944](https://github.com/pingcap/tidb/issues/24944) + - Fix the wrong results caused by changing the `count` in the join subqueries to `first_row` [#24865](https://github.com/pingcap/tidb/issues/24865) + - Fix the query hang issue that occurs when `ParallelApply` is used under the `TopN` operator [#24930](https://github.com/pingcap/tidb/issues/24930) + - Fix the issue that more results than expected are returned when executing SQL statements using multi-column prefix indexes [#24356](https://github.com/pingcap/tidb/issues/24356) + - Fix the issue that the `<=>` operator cannot correctly take effect [#24477](https://github.com/pingcap/tidb/issues/24477) + - Fix the data race issue of the parallel `Apply` operator [#23280](https://github.com/pingcap/tidb/issues/23280) + - Fix the issue that the `index out of range` error is reported when sorting the IndexMerge results of the PartitionUnion operator [#23919](https://github.com/pingcap/tidb/issues/23919) - Do not allow setting a read timestamp to a future time [#25761](https://github.com/pingcap/tidb/pull/25761) - - Fix the issue that the ODBC-styled constant (for example, `{d '2020-01-01'}`) cannot be used as the expression [#25577](https://github.com/pingcap/tidb/pull/25577) - - Fix the issue that `SELECT DISTINCT` converted to `Batch Get` causes incorrect results [#25533](https://github.com/pingcap/tidb/pull/25533) + - Fix the issue that the ODBC-styled constant (for example, `{d '2020-01-01'}`) cannot be used as the expression [#25531](https://github.com/pingcap/tidb/issues/25531) + - Fix the issue that `SELECT DISTINCT` converted to `Batch Get` causes incorrect results [#25320](https://github.com/pingcap/tidb/issues/25320) - Fix the issue that backing off queries from TiFlash to TiKV cannot be triggered [#24600](https://github.com/pingcap/tidb/pull/24600) - - Fix the `index-out-of-range` error that occurs when checking `only_full_group_by` [#24016](https://github.com/pingcap/tidb/pull/24016) - - Fix the issue that queries with `TABLESAMPLE` on an empty table returns unexpected rows [#25795](https://github.com/pingcap/tidb/pull/25795) - - Fix the issue that the result of index join in correlated subqueries is wrong [#25818](https://github.com/pingcap/tidb/pull/25818) + - Fix the `index-out-of-range` error that occurs when checking `only_full_group_by` [#23839](https://github.com/pingcap/tidb/issues/23839)) + - Fix the issue that queries with `TABLESAMPLE` on an empty table returns unexpected rows [#25257](https://github.com/pingcap/tidb/issues/25257) + - Fix the issue that the result of index join in correlated subqueries is wrong [#25799](https://github.com/pingcap/tidb/issues/25799) + TiKV - - Fix the wrong `tikv_raftstore_hibernated_peer_state` metric [#10431](https://github.com/tikv/tikv/pull/10431) - - Fix the wrong arguments type of the `json_unquote()` function in the coprocessor [#10424](https://github.com/tikv/tikv/pull/10424) - - Fix the issue that Backup & Restore reports the error of "file already exists" when TDE is enabled during the restore [#10421](https://github.com/tikv/tikv/pull/10421) - - Skip clearing callback during graceful shutdown to avoid breaking ACID in some cases [#10396](https://github.com/tikv/tikv/pull/10396) - - Fix a bug that the read index is shared for replica reads on a Leader [#10391](https://github.com/tikv/tikv/pull/10391) - - Fix the wrong function that casts `DOUBLE` to `DOUBLE` [#10388](https://github.com/tikv/tikv/pull/10388) + - Fix the wrong `tikv_raftstore_hibernated_peer_state` metric [#10330](https://github.com/tikv/tikv/issues/10330) + - Fix the wrong arguments type of the `json_unquote()` function in the coprocessor [#10176](https://github.com/tikv/tikv/issues/10176) + - Fix the issue that Backup & Restore reports the error of "file already exists" when TDE is enabled during the restore [#1179](https://github.com/pingcap/br/issues/1179) + - Skip clearing callback during graceful shutdown to avoid breaking ACID in some cases [#10353](https://github.com/tikv/tikv/issues/10353) [#10307](https://github.com/tikv/tikv/issues/10307) + - Fix a bug that the read index is shared for replica reads on a Leader [#10347](https://github.com/tikv/tikv/issues/10347) + - Fix the wrong function that casts `DOUBLE` to `DOUBLE` [#25200](https://github.com/pingcap/tidb/issues/25200) + PD - - Fix the data race issue that occurs when loading TTL configurations after the scheduler is started [#3774](https://github.com/tikv/pd/pull/3774) - - Fix a bug that the `is_learner` field of the `TIKV_REGION_PEERS` table in TiDB is incorrect [#3743](https://github.com/tikv/pd/pull/3743) - - Fix the issue that when all TiKV nodes in a zone are offline or down, PD does not schedule replicas to other zones [#3742](https://github.com/tikv/pd/pull/3742) + - Fix the data race issue that occurs when loading TTL configurations after the scheduler is started [#3771](https://github.com/tikv/pd/issues/3771) + - Fix a bug that the `is_learner` field of the `TIKV_REGION_PEERS` table in TiDB is incorrect [#3372](https://github.com/tikv/pd/issues/3372) [#24293](https://github.com/pingcap/tidb/issues/24293) + - Fix the issue that when all TiKV nodes in a zone are offline or down, PD does not schedule replicas to other zones [#3705](https://github.com/tikv/pd/issues/3705) - Fix the issue that PD might get panic after the scatter Region scheduler is added [#3762](https://github.com/tikv/pd/pull/3762) + TiFlash @@ -118,20 +118,20 @@ TiDB version: 5.0.3 + TiCDC - - Fix the issue that TiCDC owner exits when refreshing the checkpoint [#2031](https://github.com/pingcap/ticdc/pull/2031) + - Fix the issue that TiCDC owner exits when refreshing the checkpoint [#1902](https://github.com/pingcap/ticdc/issues/1902) - Fix a bug that some MySQL connection might leak after MySQL sink meets the error and pauses [#1946](https://github.com/pingcap/ticdc/pull/1946) - Fix the panic issue that occurs when TiCDC fails to read `/proc/meminfo` [#2024](https://github.com/pingcap/ticdc/pull/2024) - - Reduce TiCDC's runtime memory consumption [#2012](https://github.com/pingcap/ticdc/pull/2012), [#1958](https://github.com/pingcap/ticdc/pull/1958) - - Fix a bug that might cause TiCDC server panic due to the late calculation of resolved ts [#2047](https://github.com/pingcap/ticdc/pull/2047) + - Reduce TiCDC's runtime memory consumption [#2012](https://github.com/pingcap/ticdc/pull/2012) [#1958](https://github.com/pingcap/ticdc/pull/1958) + - Fix a bug that might cause TiCDC server panic due to the late calculation of resolved ts [#1576](https://github.com/pingcap/ticdc/issues/1576) - Fix the potential deadlock issue for the processor [#2142](https://github.com/pingcap/ticdc/pull/2142) + Backup & Restore (BR) - - Fix a bug that all system tables are filtered during restore [#1224](https://github.com/pingcap/br/pull/1224) + - Fix a bug that all system tables are filtered during restore [#1197](https://github.com/pingcap/br/issues/1197) [#1201](https://github.com/pingcap/br/issues/1201) + TiDB Lightning - - Fix the TiDB Lightning panic issue for some special data [#1268](https://github.com/pingcap/br/pull/1268) - - Fix the EOF error reported when TiDB Lightning splits the imported large CSV files [#1189](https://github.com/pingcap/br/pull/1189) + - Fix the TiDB Lightning panic issue for some special data [#1213](https://github.com/pingcap/br/issues/1213) + - Fix the EOF error reported when TiDB Lightning splits the imported large CSV files [#1133](https://github.com/pingcap/br/issues/1133) - Fix a bug that an excessively large base value is generated when TiDB Lightning imports tables with the `auto_increment` column of the `FLOAT` or `DOUBLE` type [#1186](https://github.com/pingcap/br/pull/1186) - Fix the issue that TiDB fails to parse the `DECIMAL` type data in Parquet files [#1277](https://github.com/pingcap/br/pull/1277) From 1f4f3cf34ee0effddbff8b7317340d1d5b124583 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Thu, 1 Jul 2021 17:55:24 +0800 Subject: [PATCH 17/27] address comments from alex-quan and bb7133 --- releases/release-5.0.3.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index 6b2206eacad05..2cb9c75c543b7 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -8,7 +8,7 @@ Release date: July 2, 2021 TiDB version: 5.0.3 -## New Features +## Feature Enhancements + Tools @@ -61,8 +61,8 @@ TiDB version: 5.0.3 + TiCDC - - Refine gRPC's reconnection logic and increase the KV client's throughput [#1922](https://github.com/pingcap/ticdc/pull/1922) - - Make the sorter I/O errors more user-friendly [#1977](https://github.com/pingcap/ticdc/pull/1977) + - Refine gRPC's reconnection logic and increase the KV client's throughput [#1586](https://github.com/pingcap/ticdc/issues/1586) [#1501](https://github.com/pingcap/ticdc/issues/1501#issuecomment-820027078) [#1682](https://github.com/pingcap/ticdc/pull/1682) [#1393](https://github.com/pingcap/ticdc/issues/1393) [#184s7](https://github.com/pingcap/ticdc/pull/1847) [#1905](https://github.com/pingcap/ticdc/issues/1905) [#1904](https://github.com/pingcap/ticdc/issues/1904) + - Make the sorter I/O errors more user-friendly ## Bug Fixes @@ -80,10 +80,10 @@ TiDB version: 5.0.3 - Fix the issue that the `<=>` operator cannot correctly take effect [#24477](https://github.com/pingcap/tidb/issues/24477) - Fix the data race issue of the parallel `Apply` operator [#23280](https://github.com/pingcap/tidb/issues/23280) - Fix the issue that the `index out of range` error is reported when sorting the IndexMerge results of the PartitionUnion operator [#23919](https://github.com/pingcap/tidb/issues/23919) - - Do not allow setting a read timestamp to a future time [#25761](https://github.com/pingcap/tidb/pull/25761) + - Fix the issue that setting the `tidb_snapshot` variable to an unexpectedly large value might damage the transaction isolation [25680](https://github.com/pingcap/tidb/issues/25680) - Fix the issue that the ODBC-styled constant (for example, `{d '2020-01-01'}`) cannot be used as the expression [#25531](https://github.com/pingcap/tidb/issues/25531) - Fix the issue that `SELECT DISTINCT` converted to `Batch Get` causes incorrect results [#25320](https://github.com/pingcap/tidb/issues/25320) - - Fix the issue that backing off queries from TiFlash to TiKV cannot be triggered [#24600](https://github.com/pingcap/tidb/pull/24600) + - Fix the issue that backing off queries from TiFlash to TiKV cannot be triggered [#23665](https://github.com/pingcap/tidb/issues/23665) [#24421](https://github.com/pingcap/tidb/issues/24421) - Fix the `index-out-of-range` error that occurs when checking `only_full_group_by` [#23839](https://github.com/pingcap/tidb/issues/23839)) - Fix the issue that queries with `TABLESAMPLE` on an empty table returns unexpected rows [#25257](https://github.com/pingcap/tidb/issues/25257) - Fix the issue that the result of index join in correlated subqueries is wrong [#25799](https://github.com/pingcap/tidb/issues/25799) @@ -92,7 +92,6 @@ TiDB version: 5.0.3 - Fix the wrong `tikv_raftstore_hibernated_peer_state` metric [#10330](https://github.com/tikv/tikv/issues/10330) - Fix the wrong arguments type of the `json_unquote()` function in the coprocessor [#10176](https://github.com/tikv/tikv/issues/10176) - - Fix the issue that Backup & Restore reports the error of "file already exists" when TDE is enabled during the restore [#1179](https://github.com/pingcap/br/issues/1179) - Skip clearing callback during graceful shutdown to avoid breaking ACID in some cases [#10353](https://github.com/tikv/tikv/issues/10353) [#10307](https://github.com/tikv/tikv/issues/10307) - Fix a bug that the read index is shared for replica reads on a Leader [#10347](https://github.com/tikv/tikv/issues/10347) - Fix the wrong function that casts `DOUBLE` to `DOUBLE` [#25200](https://github.com/pingcap/tidb/issues/25200) @@ -113,6 +112,7 @@ TiDB version: 5.0.3 - Fix the panic that occurs when the right jon key is not nullalbe and the left join key is nullable - Fix the potential issue that the `read-index` requests take a long time - Fix the panic issue that occurs when the read load is heavy + - Fix the panic issue that might occur when the `Date_Format` function is called with the `STRING` type argument and `NULL` values + Tools @@ -128,6 +128,7 @@ TiDB version: 5.0.3 + Backup & Restore (BR) - Fix a bug that all system tables are filtered during restore [#1197](https://github.com/pingcap/br/issues/1197) [#1201](https://github.com/pingcap/br/issues/1201) + - Fix the issue that Backup & Restore reports the error of "file already exists" when TDE is enabled during the restore [#1179](https://github.com/pingcap/br/issues/1179) + TiDB Lightning From 84fd899e911640d9273305725bfcd3565e6ae015 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 2 Jul 2021 13:29:29 +0800 Subject: [PATCH 18/27] add tidb_multi_stmt-mode note --- releases/release-5.0.3.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index 2cb9c75c543b7..f5205ebbccb30 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -8,6 +8,12 @@ Release date: July 2, 2021 TiDB version: 5.0.3 +## Compatibility Change + ++ TiDB + + - After a v4.0 cluster is upgraded to v5.0 or a later version (dev or v5.1), the default value of the `tidb_multi_statement_mode` variable changes from `WARN` to `OFF` + ## Feature Enhancements + Tools From 4cbb3d3d5512871d14d45af39855135b1c66a27d Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 2 Jul 2021 15:10:22 +0800 Subject: [PATCH 19/27] Update releases/release-5.0.3.md Co-authored-by: Chunzhu Li --- releases/release-5.0.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index f5205ebbccb30..4631ce8eb7df6 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -67,7 +67,7 @@ TiDB version: 5.0.3 + TiCDC - - Refine gRPC's reconnection logic and increase the KV client's throughput [#1586](https://github.com/pingcap/ticdc/issues/1586) [#1501](https://github.com/pingcap/ticdc/issues/1501#issuecomment-820027078) [#1682](https://github.com/pingcap/ticdc/pull/1682) [#1393](https://github.com/pingcap/ticdc/issues/1393) [#184s7](https://github.com/pingcap/ticdc/pull/1847) [#1905](https://github.com/pingcap/ticdc/issues/1905) [#1904](https://github.com/pingcap/ticdc/issues/1904) + - Refine gRPC's reconnection logic and increase the KV client's throughput [#1586](https://github.com/pingcap/ticdc/issues/1586) [#1501](https://github.com/pingcap/ticdc/issues/1501#issuecomment-820027078) [#1682](https://github.com/pingcap/ticdc/pull/1682) [#1393](https://github.com/pingcap/ticdc/issues/1393) [#1847](https://github.com/pingcap/ticdc/pull/1847) [#1905](https://github.com/pingcap/ticdc/issues/1905) [#1904](https://github.com/pingcap/ticdc/issues/1904) - Make the sorter I/O errors more user-friendly ## Bug Fixes From 8031af95fa296d5d6ba06ab012a6dc8f14fd6c92 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 2 Jul 2021 15:11:21 +0800 Subject: [PATCH 20/27] Update releases/release-5.0.3.md --- releases/release-5.0.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index 4631ce8eb7df6..cb514ec763532 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -29,7 +29,7 @@ TiDB version: 5.0.3 + TiDB - Support pushing down the `TopN` operator to TiFlash [#25162](https://github.com/pingcap/tidb/pull/25162) - - Support pushing down the built-in function `json_unquote()` to TiKV [#25720](https://github.com/pingcap/tidb/pull/25720) + - Support pushing down the built-in function `json_unquote()` to TiKV [#24415](https://github.com/pingcap/tidb/issues/24415) - Support removing the union branch from the dual table [#25614](https://github.com/pingcap/tidb/pull/25614) - Support pushing down the built-in function `replace()` to TiFlash [#25565](https://github.com/pingcap/tidb/pull/25565) - Support pushing down the built-in functions `unix_timestamp()`, `concat()`, `year()`, `day()`, `datediff()`, `datesub()`, and `concat_ws()` to TiFlash [#25564](https://github.com/pingcap/tidb/pull/25564) From 546212cb5263025eb0056e2945688bba8c28df7e Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 2 Jul 2021 15:31:44 +0800 Subject: [PATCH 21/27] add innodb_default_row_format note --- releases/release-5.0.3.md | 1 + 1 file changed, 1 insertion(+) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index cb514ec763532..b3d8740dc5803 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -13,6 +13,7 @@ TiDB version: 5.0.3 + TiDB - After a v4.0 cluster is upgraded to v5.0 or a later version (dev or v5.1), the default value of the `tidb_multi_statement_mode` variable changes from `WARN` to `OFF` + - TiDB is now compatible with MySQL 5.7's noop variable `innodb_default_row_format` [#23541](https://github.com/pingcap/tidb/issues/23541) ## Feature Enhancements From 12d5783ec947d62ad891675f8562b4b866cbec84 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 2 Jul 2021 15:32:20 +0800 Subject: [PATCH 22/27] Update releases/release-5.0.3.md --- releases/release-5.0.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index b3d8740dc5803..2983d9ad2a45a 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -8,7 +8,7 @@ Release date: July 2, 2021 TiDB version: 5.0.3 -## Compatibility Change +## Compatibility Changes + TiDB From edac83f8e951752900289951770c8168f818da4e Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 2 Jul 2021 15:55:37 +0800 Subject: [PATCH 23/27] Update release-5.0.3.md --- releases/release-5.0.3.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index 2983d9ad2a45a..295629f7b0806 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -23,7 +23,7 @@ TiDB version: 5.0.3 - Add an HTTP API to get the changefeed information and the health information of the node [#1955](https://github.com/pingcap/ticdc/pull/1955) - Add the SASL/SCRAM support for the kafka sink [#1942](https://github.com/pingcap/ticdc/pull/1942) - - Makes TiCDC support `--data-dir` at the server level [#2070](https://github.com/pingcap/ticdc/pull/2070) + - Make TiCDC support `--data-dir` at the server level [#2070](https://github.com/pingcap/ticdc/pull/2070) ## Improvements @@ -87,7 +87,7 @@ TiDB version: 5.0.3 - Fix the issue that the `<=>` operator cannot correctly take effect [#24477](https://github.com/pingcap/tidb/issues/24477) - Fix the data race issue of the parallel `Apply` operator [#23280](https://github.com/pingcap/tidb/issues/23280) - Fix the issue that the `index out of range` error is reported when sorting the IndexMerge results of the PartitionUnion operator [#23919](https://github.com/pingcap/tidb/issues/23919) - - Fix the issue that setting the `tidb_snapshot` variable to an unexpectedly large value might damage the transaction isolation [25680](https://github.com/pingcap/tidb/issues/25680) + - Fix the issue that setting the `tidb_snapshot` variable to an unexpectedly large value might damage the transaction isolation [#25680](https://github.com/pingcap/tidb/issues/25680) - Fix the issue that the ODBC-styled constant (for example, `{d '2020-01-01'}`) cannot be used as the expression [#25531](https://github.com/pingcap/tidb/issues/25531) - Fix the issue that `SELECT DISTINCT` converted to `Batch Get` causes incorrect results [#25320](https://github.com/pingcap/tidb/issues/25320) - Fix the issue that backing off queries from TiFlash to TiKV cannot be triggered [#23665](https://github.com/pingcap/tidb/issues/23665) [#24421](https://github.com/pingcap/tidb/issues/24421) From 442ab85ba45b328ed2ea07adf77817a126a65a7b Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 2 Jul 2021 16:15:41 +0800 Subject: [PATCH 24/27] Update releases/release-5.0.3.md --- releases/release-5.0.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index 295629f7b0806..702b6c499c38a 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -13,7 +13,7 @@ TiDB version: 5.0.3 + TiDB - After a v4.0 cluster is upgraded to v5.0 or a later version (dev or v5.1), the default value of the `tidb_multi_statement_mode` variable changes from `WARN` to `OFF` - - TiDB is now compatible with MySQL 5.7's noop variable `innodb_default_row_format` [#23541](https://github.com/pingcap/tidb/issues/23541) + - TiDB is now compatible with MySQL 5.7's noop variable `innodb_default_row_format`. Setting this variable will have no effect. [#23541](https://github.com/pingcap/tidb/issues/23541) ## Feature Enhancements From d1d494ebc50ab766e78756b0d63ad3fac3c4ead3 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 2 Jul 2021 18:15:20 +0800 Subject: [PATCH 25/27] Update releases/release-5.0.3.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Daniël van Eeden --- releases/release-5.0.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index 702b6c499c38a..fcd4706e33d90 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -57,7 +57,7 @@ TiDB version: 5.0.3 + TiFlash - Support casting the `STRING` type to the `DOUBLE` type - - Support the `STR_TO_DATE` function + - Support the `STR_TO_DATE()` function - Optimize the non-joined data in right outer join using multiple threads - Support the Cartesian join - Support the `LEFT()` and `RIGHT()` functions From 17483190dc5712f8cf609290667c1e27ad8d5d25 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 2 Jul 2021 19:10:25 +0800 Subject: [PATCH 26/27] Update releases/release-5.0.3.md --- releases/release-5.0.3.md | 1 - 1 file changed, 1 deletion(-) diff --git a/releases/release-5.0.3.md b/releases/release-5.0.3.md index fcd4706e33d90..dd0cd804340e2 100644 --- a/releases/release-5.0.3.md +++ b/releases/release-5.0.3.md @@ -92,7 +92,6 @@ TiDB version: 5.0.3 - Fix the issue that `SELECT DISTINCT` converted to `Batch Get` causes incorrect results [#25320](https://github.com/pingcap/tidb/issues/25320) - Fix the issue that backing off queries from TiFlash to TiKV cannot be triggered [#23665](https://github.com/pingcap/tidb/issues/23665) [#24421](https://github.com/pingcap/tidb/issues/24421) - Fix the `index-out-of-range` error that occurs when checking `only_full_group_by` [#23839](https://github.com/pingcap/tidb/issues/23839)) - - Fix the issue that queries with `TABLESAMPLE` on an empty table returns unexpected rows [#25257](https://github.com/pingcap/tidb/issues/25257) - Fix the issue that the result of index join in correlated subqueries is wrong [#25799](https://github.com/pingcap/tidb/issues/25799) + TiKV From 6f7610c890ba966b36a70b79e8cad37a59e2e085 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 2 Jul 2021 19:29:20 +0800 Subject: [PATCH 27/27] bump version --- download-ecosystem-tools.md | 8 ++++---- pd-recover.md | 2 +- production-deployment-using-tiup.md | 6 +++--- quick-start-with-tidb.md | 8 ++++---- scale-tidb-using-tiup.md | 2 +- ticdc/manage-ticdc.md | 4 ++-- tiup/tiup-component-cluster-deploy.md | 2 +- upgrade-tidb-using-tiup.md | 8 ++++---- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/download-ecosystem-tools.md b/download-ecosystem-tools.md index de438add13ae6..fd2403b5459bf 100644 --- a/download-ecosystem-tools.md +++ b/download-ecosystem-tools.md @@ -17,7 +17,7 @@ If you want to download the latest version of [TiDB Binlog](/tidb-binlog/tidb-bi > **Note:** > -> `{version}` in the above download link indicates the version number of TiDB. For example, the download link for `v5.0.2` is `https://download.pingcap.org/tidb-v5.0.2-linux-amd64.tar.gz`. +> `{version}` in the above download link indicates the version number of TiDB. For example, the download link for `v5.0.3` is `https://download.pingcap.org/tidb-v5.0.3-linux-amd64.tar.gz`. ## TiDB Lightning @@ -29,7 +29,7 @@ Download [TiDB Lightning](/tidb-lightning/tidb-lightning-overview.md) by using t > **Note:** > -> `{version}` in the above download link indicates the version number of TiDB Lightning. For example, the download link for `v5.0.2` is `https://download.pingcap.org/tidb-toolkit-v5.0.2-linux-amd64.tar.gz`. +> `{version}` in the above download link indicates the version number of TiDB Lightning. For example, the download link for `v5.0.3` is `https://download.pingcap.org/tidb-toolkit-v5.0.3-linux-amd64.tar.gz`. ## BR (backup and restore) @@ -41,7 +41,7 @@ Download [BR](/br/backup-and-restore-tool.md) by using the download link in the > **Note:** > -> `{version}` in the above download link indicates the version number of BR. For example, the download link for `v5.0.2` is `http://download.pingcap.org/tidb-toolkit-v5.0.2-linux-amd64.tar.gz`. +> `{version}` in the above download link indicates the version number of BR. For example, the download link for `v5.0.3` is `http://download.pingcap.org/tidb-toolkit-v5.0.3-linux-amd64.tar.gz`. ## TiDB DM (Data Migration) @@ -65,7 +65,7 @@ Download [Dumpling](/dumpling-overview.md) from the links below: > **Note:** > -> The `{version}` in the download link is the version number of Dumpling. For example, the link for downloading the `v5.0.2` version of Dumpling is `https://download.pingcap.org/tidb-toolkit-v5.0.2-linux-amd64.tar.gz`. You can view the currently released versions in [Dumpling Releases](https://github.com/pingcap/dumpling/releases). +> The `{version}` in the download link is the version number of Dumpling. For example, the link for downloading the `v5.0.3` version of Dumpling is `https://download.pingcap.org/tidb-toolkit-v5.0.3-linux-amd64.tar.gz`. You can view the currently released versions in [Dumpling Releases](https://github.com/pingcap/dumpling/releases). > > Dumpling supports arm64 linux. You can replace `amd64` in the download link with `arm64`, which means the `arm64` version of Dumpling. diff --git a/pd-recover.md b/pd-recover.md index 94107ac4c3cb8..0a4ab1cb00c4b 100644 --- a/pd-recover.md +++ b/pd-recover.md @@ -26,7 +26,7 @@ To download the latest version of PD Recover, directly download the TiDB package > **Note:** > -> `{version}` indicates the version number of TiDB. For example, if `{version}` is `v5.0.2`, the package download link is `https://download.pingcap.org/tidb-v5.0.2-linux-amd64.tar.gz`. +> `{version}` indicates the version number of TiDB. For example, if `{version}` is `v5.0.3`, the package download link is `https://download.pingcap.org/tidb-v5.0.3-linux-amd64.tar.gz`. ## Quick Start diff --git a/production-deployment-using-tiup.md b/production-deployment-using-tiup.md index 11215315ddb41..45b99b7676807 100644 --- a/production-deployment-using-tiup.md +++ b/production-deployment-using-tiup.md @@ -260,13 +260,13 @@ Then execute the `deploy` command to deploy the TiDB cluster: {{< copyable "shell-regular" >}} ```shell -tiup cluster deploy tidb-test v5.0.2 ./topology.yaml --user root [-p] [-i /home/root/.ssh/gcp_rsa] +tiup cluster deploy tidb-test v5.0.3 ./topology.yaml --user root [-p] [-i /home/root/.ssh/gcp_rsa] ``` In the above command: - The name of the deployed TiDB cluster is `tidb-test`. -- You can see the latest supported versions by running `tiup list tidb`. This document takes `v5.0.2` as an example. +- You can see the latest supported versions by running `tiup list tidb`. This document takes `v5.0.3` as an example. - The initialization configuration file is `topology.yaml`. - `--user root`: Log in to the target machine through the `root` key to complete the cluster deployment, or you can use other users with `ssh` and `sudo` privileges to complete the deployment. - `[-i]` and `[-p]`: optional. If you have configured login to the target machine without password, these parameters are not required. If not, choose one of the two parameters. `[-i]` is the private key of the `root` user (or other users specified by `--user`) that has access to the target machine. `[-p]` is used to input the user password interactively. @@ -288,7 +288,7 @@ TiUP supports managing multiple TiDB clusters. The command above outputs informa Starting /home/tidb/.tiup/components/cluster/v1.3.0/cluster list Name User Version Path PrivateKey ---- ---- ------- ---- ---------- -tidb-test tidb v5.0.2 /home/tidb/.tiup/storage/cluster/clusters/tidb-test /home/tidb/.tiup/storage/cluster/clusters/tidb-test/ssh/id_rsa +tidb-test tidb v5.0.3 /home/tidb/.tiup/storage/cluster/clusters/tidb-test /home/tidb/.tiup/storage/cluster/clusters/tidb-test/ssh/id_rsa ``` ## Step 6: Check the status of the deployed TiDB cluster diff --git a/quick-start-with-tidb.md b/quick-start-with-tidb.md index 70ac48c806f97..3dacbf31ae005 100644 --- a/quick-start-with-tidb.md +++ b/quick-start-with-tidb.md @@ -55,10 +55,10 @@ As a distributed system, a basic TiDB test cluster usually consists of 2 TiDB in {{< copyable "shell-regular" >}} ```shell - tiup playground v5.0.2 --db 2 --pd 3 --kv 3 --monitor + tiup playground v5.0.3 --db 2 --pd 3 --kv 3 --monitor ``` - The command downloads a version cluster to the local machine and starts it, such as v5.0.2. `--monitor` means that the monitoring component is also deployed. + The command downloads a version cluster to the local machine and starts it, such as v5.0.3. `--monitor` means that the monitoring component is also deployed. To view the latest version, run `tiup list tidb`. @@ -160,10 +160,10 @@ As a distributed system, a basic TiDB test cluster usually consists of 2 TiDB in {{< copyable "shell-regular" >}} ```shell - tiup playground v5.0.2 --db 2 --pd 3 --kv 3 --monitor + tiup playground v5.0.3 --db 2 --pd 3 --kv 3 --monitor ``` - The command downloads a version cluster to the local machine and starts it, such as v5.0.2. `--monitor` means that the monitoring component is also deployed. + The command downloads a version cluster to the local machine and starts it, such as v5.0.3. `--monitor` means that the monitoring component is also deployed. To view the latest version, run `tiup list tidb`. diff --git a/scale-tidb-using-tiup.md b/scale-tidb-using-tiup.md index b9d678bd104d1..0ae0d3ecaaacc 100644 --- a/scale-tidb-using-tiup.md +++ b/scale-tidb-using-tiup.md @@ -257,7 +257,7 @@ If you want to remove a TiKV node from the `10.0.1.5` host, take the following s ``` Starting /root/.tiup/components/cluster/v1.3.0/cluster display TiDB Cluster: - TiDB Version: v5.0.2 + TiDB Version: v5.0.3 ID Role Host Ports Status Data Dir Deploy Dir -- ---- ---- ----- ------ -------- ---------- 10.0.1.3:8300 cdc 10.0.1.3 8300 Up - deploy/cdc-8300 diff --git a/ticdc/manage-ticdc.md b/ticdc/manage-ticdc.md index 4da8af0a7ab4d..d89d3e7774d5a 100644 --- a/ticdc/manage-ticdc.md +++ b/ticdc/manage-ticdc.md @@ -9,14 +9,14 @@ This document describes how to manage the TiCDC cluster and replication tasks us ## Upgrade TiCDC using TiUP -This section introduces how to upgrade the TiCDC cluster using TiUP. In the following example, assume that you need to upgrade TiCDC and the entire TiDB cluster to v5.0.2. +This section introduces how to upgrade the TiCDC cluster using TiUP. In the following example, assume that you need to upgrade TiCDC and the entire TiDB cluster to v5.0.3. {{< copyable "shell-regular" >}} ```shell tiup update --self && \ tiup update --all && \ -tiup cluster upgrade v5.0.2 +tiup cluster upgrade v5.0.3 ``` ### Notes for upgrade diff --git a/tiup/tiup-component-cluster-deploy.md b/tiup/tiup-component-cluster-deploy.md index 2d87a85d37de6..9a59767957917 100644 --- a/tiup/tiup-component-cluster-deploy.md +++ b/tiup/tiup-component-cluster-deploy.md @@ -13,7 +13,7 @@ tiup cluster deploy [flags] ``` - ``: the name of the new cluster, which cannot be the same as the existing cluster names. -- ``: the version number of the TiDB cluster to deploy, such as `v5.0.2`. +- ``: the version number of the TiDB cluster to deploy, such as `v5.0.3`. - ``: the prepared [topology file](/tiup/tiup-cluster-topology-reference.md). ## Options diff --git a/upgrade-tidb-using-tiup.md b/upgrade-tidb-using-tiup.md index 41e2396dff4c6..0e323219b9e93 100644 --- a/upgrade-tidb-using-tiup.md +++ b/upgrade-tidb-using-tiup.md @@ -149,12 +149,12 @@ If your application has a maintenance window for the database to be stopped for tiup cluster upgrade ``` -For example, if you want to upgrade the cluster to v5.0.2: +For example, if you want to upgrade the cluster to v5.0.3: {{< copyable "shell-regular" >}} ```shell -tiup cluster upgrade v5.0.2 +tiup cluster upgrade v5.0.3 ``` > **Note:** @@ -204,7 +204,7 @@ tiup cluster display ``` Cluster type: tidb Cluster name: -Cluster version: v5.0.2 +Cluster version: v5.0.3 ``` > **Note:** @@ -254,7 +254,7 @@ You can upgrade the tool version by using TiUP to install the `ctl` component of {{< copyable "shell-regular" >}} ```shell -tiup install ctl:v5.0.2 +tiup install ctl:v5.0.3 ``` ## TiDB 5.0 compatibility changes