From 2817cc98dce86c7774f665c4d41e87bab4b96327 Mon Sep 17 00:00:00 2001 From: ti-srebot Date: Mon, 1 Feb 2021 10:14:13 +0800 Subject: [PATCH 01/21] update v4.0.11 release notes at 2021-02-01T10:14:13 Signed-off-by: ti-srebot --- releases/4.0.11.md | 141 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 releases/4.0.11.md diff --git a/releases/4.0.11.md b/releases/4.0.11.md new file mode 100644 index 0000000000000..2ddf33b79647b --- /dev/null +++ b/releases/4.0.11.md @@ -0,0 +1,141 @@ +--- +title: tidb v4.0.11 Release Notes +category: Releases +aliases: ['/docs/dev/releases/v4.0.11/'] +--- + +# tidb v4.0.11 Release Notes + +Release date: February 01, 2021 + +TiDB version: v4.0.11 + +## Bug Fixes + ++ TiDB + + - Expression: handle duration type infer in least and greatest [#22580](https://github.com/pingcap/tidb/pull/22580) + - Fixed LIKE expressions when a single character (`_`) wildcard follows a multiple character wildcard (`%`). [#22575](https://github.com/pingcap/tidb/pull/22575) + - Expression: fix type infer for TiDB's builtin compare(least and greatest) [#22562](https://github.com/pingcap/tidb/pull/22562) + - Fix a bug that makes the `like` function get the wrong result if pattern string is a Unicode string [#22529](https://github.com/pingcap/tidb/pull/22529) + - Fix a bug that point get query does not get the snapshot data when the `@@tidb_snapshot` variable is set. [#22527](https://github.com/pingcap/tidb/pull/22527) + - Avoid potential panic when generating hints from joins [#22518](https://github.com/pingcap/tidb/pull/22518) + - Convert string to MySQL BIT correctly [#22420](https://github.com/pingcap/tidb/pull/22420) + - Fix the 'index out of range ' issue when insert values to `tidb_rowid`. [#22359](https://github.com/pingcap/tidb/pull/22359) + - Fix a bug about incorrectly reuse cached plan [#22353](https://github.com/pingcap/tidb/pull/22353) + - Fix runtime panic in WEIGHT_STRING function when the length of binary/char is too large [#22332](https://github.com/pingcap/tidb/pull/22332) + - Forbidden the invalid generated column with incorrect argument count. [#22174](https://github.com/pingcap/tidb/pull/22174) + - Show process info when building plan. [#22148](https://github.com/pingcap/tidb/pull/22148) + - Fix issue of runtime stats of index lookup reader doesn't accurate. [#22136](https://github.com/pingcap/tidb/pull/22136) + - Add a cache for memory info when the cluster is deployed in container. [#22116](https://github.com/pingcap/tidb/pull/22116) + - Fix issue of decode plan error cause by without escape special char. [#22022](https://github.com/pingcap/tidb/pull/22022) + - Report error for invalid window specifications which are not used in window functions. [#21976](https://github.com/pingcap/tidb/pull/21976) + - Throw error when prepared statement is execute, deallocate or prepare [#21972](https://github.com/pingcap/tidb/pull/21972) + - Fix `insert ignore` into not exists partition should not report error [#21971](https://github.com/pingcap/tidb/pull/21971) + - Unify the plan code for explain result and slow log. [#21964](https://github.com/pingcap/tidb/pull/21964) + - Fix unknown columns in join using below agg [#21957](https://github.com/pingcap/tidb/pull/21957) + - Fix wrong type inferring for ceiling function. [#21936](https://github.com/pingcap/tidb/pull/21936) + - Double type column from table should ignore its decimal [#21916](https://github.com/pingcap/tidb/pull/21916) + - Fix correlated aggregates which should be evaluated in outer query instead of in subqueries. [#21877](https://github.com/pingcap/tidb/pull/21877) + - Report error for json object with key length >= 65536. [#21870](https://github.com/pingcap/tidb/pull/21870) + - Fix compatibility issue with MySQL for function `dayname` [#21850](https://github.com/pingcap/tidb/pull/21850) + - When using input types longer than blob (such as a longblob or longtext), the function `to_base64` always returned `NULL`. It now returns the correct value. [#21813](https://github.com/pingcap/tidb/pull/21813) + - Fix the fail when we compare multi fields in the subquery [#21808](https://github.com/pingcap/tidb/pull/21808) + - Fix compare float64 with float64 in json [#21785](https://github.com/pingcap/tidb/pull/21785) + - Fix compare object json type [#21718](https://github.com/pingcap/tidb/pull/21718) + - Fix the coercibility of the cast function [#21714](https://github.com/pingcap/tidb/pull/21714) + - Fix unexpected panic when using IF function [#21711](https://github.com/pingcap/tidb/pull/21711) + - Fix #20161, json search result null is not compatible with mysql [#21700](https://github.com/pingcap/tidb/pull/21700) + - Check for only_full_group_by in ORDER BY and HAVING for query without group clause. [#21697](https://github.com/pingcap/tidb/pull/21697) + - Fix the compatibility of extract day_time unit functions [#21676](https://github.com/pingcap/tidb/pull/21676) + - Fix LEAD and LAG's default value can not adapt to field type [#21665](https://github.com/pingcap/tidb/pull/21665) + - TiDB now checks to make sure that the `LOAD DATA` statement can only load data into base tables. [#21638](https://github.com/pingcap/tidb/pull/21638) + - Handle invalid argument for addtime and subtime function [#21635](https://github.com/pingcap/tidb/pull/21635) + - Use “round to nearest even” rule instead of “round half away from zero” for approximate-value numbers [#21628](https://github.com/pingcap/tidb/pull/21628) + - The single-argument `WEEK()` call now recognize the global `@@default_week_format` even when the session one is not set explicitly. [#21623](https://github.com/pingcap/tidb/pull/21623) + ++ PD + + - Fix the issue that member health metrics not correct [#3368](https://github.com/pingcap/pd/pull/3368) + - If a tombstone store still has peers, make it cannot be removed. [#3352](https://github.com/pingcap/pd/pull/3352) + ++ TiFlash + + - Fix the bug that TiFlash may crash when reading data [#1358](https://github.com/pingcap/tics/pull/1358) + - Fix the issue that some data written after DDL operation may be lost after data compaction [#1350](https://github.com/pingcap/tics/pull/1350) + +## Improvements + ++ TiDB + + - Reorder inner joins simplified from outer joins [#22402](https://github.com/pingcap/tidb/pull/22402) + ++ TiFlash + + - Metrics: grafana dashboards support multiple clusters [#1384](https://github.com/pingcap/tics/pull/1384) + +## New Features + ++ TiFlash + + - A coprocessor thread pool was added to queue coprocessor requests for execution, which can avoid OOM in some cases. Added two configs `cop_pool_size` and `batch_cop_pool_size`, default `NumOfPhysicalCores*2`. [#1312](https://github.com/pingcap/tics/pull/1312) + +## Others + ++ TiDB + + - Incorporate unicode_ci into constant propagation [#22614](https://github.com/pingcap/tidb/pull/22614) + - Fix an issue that cause wrong collation and coercibility [#22602](https://github.com/pingcap/tidb/pull/22602) + - Fix an issue that may get wrong collation result [#22599](https://github.com/pingcap/tidb/pull/22599) + - Refine `CollationStrictness` to support incompatible strictnessship [#22582](https://github.com/pingcap/tidb/pull/22582) + - Implement `utf8_unicode_ci` and `utf8mb4_unicode_ci` collation [#22558](https://github.com/pingcap/tidb/pull/22558) + - Metrics: grafana dashboards support multiple clusters [#22534](https://github.com/pingcap/tidb/pull/22534) + - Fix a bug that the `like` function returns the wrong result when using collation [#22531](https://github.com/pingcap/tidb/pull/22531) + - TiDB 4.0.9 fixed a security issue, where TiDB incorrectly permitted multiple statements to be executed in one `COM_QUERY` packet, leading to increased risk of SQL injection. To provide backwards compatibility for applications that depend on this behavior, a new option `tidb_multi_statement_mode` has been added. Assuming you understand the security risks, you can revert to the 4.0.8 by executing `SET GLOBAL tidb_multi_statement_mode='ON'`. The default behavior of `tidb_multi_statement_mode` also relaxes the error introduced in 4.0.9 to a warning. It is intended to be changed to an error again in a future release. [#22468](https://github.com/pingcap/tidb/pull/22468) + - Metrics slow query is divided into internal and general [#22405](https://github.com/pingcap/tidb/pull/22405) + - Add `utf8_unicode_ci` and `utf8mb4_unicode_ci` interface. [#22099](https://github.com/pingcap/tidb/pull/22099) + - Error message redact normalize. [#21889](https://github.com/pingcap/tidb/pull/21889) + ++ TiKV + + - No release notes [#9604](https://github.com/tikv/tikv/pull/9604) + - Server: add server info metrics for DBasS [#9591](https://github.com/tikv/tikv/pull/9591) + - Fix unmatched memory information [#9589](https://github.com/tikv/tikv/pull/9589) + - (I'm not sure if it's necessary) [#9583](https://github.com/tikv/tikv/pull/9583) + - Add utf8mb4_unicode_ci implement [#9577](https://github.com/tikv/tikv/pull/9577) + - Metrics: grafana dashboards support multiple clusters [#9572](https://github.com/tikv/tikv/pull/9572) + - Fix the issue that when loading old value for CDC's incremental scan on a key where there's a rolled back transaction, in some cases TiKV may panic. [#9569](https://github.com/tikv/tikv/pull/9569) + - Fix old value config glitch when changefeeds with different settings connect to one region [#9565](https://github.com/tikv/tikv/pull/9565) + - Fixes a crash problem when running a TiKV on a machine with a network interface lacking MAC address since v4.0.9. [#9516](https://github.com/tikv/tikv/pull/9516) + - Fix the problem that TiKV OOM when we backup a huge region. [#9448](https://github.com/tikv/tikv/pull/9448) + - Report RocksDB metrics to TiDB [#9316](https://github.com/tikv/tikv/pull/9316) + - Add `cast_year_as_time` [#9299](https://github.com/tikv/tikv/pull/9299) + - Record suspend time for coprocessor task [#9277](https://github.com/tikv/tikv/pull/9277) + ++ PD + + - Fix the issue that the store limit cannot be persisted [#3403](https://github.com/pingcap/pd/pull/3403) + - Fix the limit constriction of the scatter range scheduler [#3401](https://github.com/pingcap/pd/pull/3401) + - Metrics: grafana dashboards support multiple clusters [#3398](https://github.com/pingcap/pd/pull/3398) + ++ TiFlash + + - Optimize the performance of date_format function in TiFlash [#1339](https://github.com/pingcap/tics/pull/1339) + ++ Tools + + - BR + + * Fix the issue that in rawkv mode, the end key of restoring range may be included, which is expected to be exclusive. [#726](https://github.com/pingcap/br/pull/726) + + - TiCDC + + * Fix atomicity of transactions is broken in the downstream [#1375](https://github.com/pingcap/ticdc/pull/1375) + * Fix a bug that kv client may skip to recreate event feed receiving routine by accident. [#1373](https://github.com/pingcap/ticdc/pull/1373) + * Adjust default sort-dir and add warnings about choice of sort-dir [#1372](https://github.com/pingcap/ticdc/pull/1372) + * Check update safepoint error. [#1367](https://github.com/pingcap/ticdc/pull/1367) + * Fix potential data loss if a processor crashes when starting up a table. [#1363](https://github.com/pingcap/ticdc/pull/1363) + * Fix metric `ticdc_processor_num_of_tables` and `ticdc_processor_table_resolved_ts` are properly updated when processor removes a table or the processor itself stops. [#1351](https://github.com/pingcap/ticdc/pull/1351) + * Metrics: grafana dashboards support multiple clusters [#1350](https://github.com/pingcap/ticdc/pull/1350) + * Fix a bug that TiCDC server could hang when processing a new changefeed with invalid sort-engine parameter [#1326](https://github.com/pingcap/ticdc/pull/1326) + * Fix the output in changefeed out of order [#1323](https://github.com/pingcap/ticdc/pull/1323) From 56dd5b0ce61b7fd537056a827362fb0bdd8dc6ab Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Mon, 1 Feb 2021 10:26:35 +0800 Subject: [PATCH 02/21] add toc --- TOC.md | 1 + releases/{4.0.11.md => release-4.0.11.md} | 46 +++++++++++------------ releases/release-notes.md | 1 + 3 files changed, 25 insertions(+), 23 deletions(-) rename releases/{4.0.11.md => release-4.0.11.md} (97%) diff --git a/TOC.md b/TOC.md index 16cb5861afc35..706f4c1e8c69e 100644 --- a/TOC.md +++ b/TOC.md @@ -523,6 +523,7 @@ + v5.0 + [5.0.0-rc](/releases/release-5.0.0-rc.md) + v4.0 + + [4.0.11](/releases/release-4.0.11.md) + [4.0.10](/releases/release-4.0.10.md) + [4.0.9](/releases/release-4.0.9.md) + [4.0.8](/releases/release-4.0.8.md) diff --git a/releases/4.0.11.md b/releases/release-4.0.11.md similarity index 97% rename from releases/4.0.11.md rename to releases/release-4.0.11.md index 2ddf33b79647b..0f40eabc2700d 100644 --- a/releases/4.0.11.md +++ b/releases/release-4.0.11.md @@ -1,14 +1,30 @@ --- -title: tidb v4.0.11 Release Notes -category: Releases -aliases: ['/docs/dev/releases/v4.0.11/'] +title: TiDB 4.0.11 Release Notes --- -# tidb v4.0.11 Release Notes +# TiDB 4.0.11 Release Notes -Release date: February 01, 2021 +Release date: February 4, 2021 -TiDB version: v4.0.11 +TiDB version: 4.0.11 + +## Compatibility Changes + +## New Features + ++ TiFlash + + - A coprocessor thread pool was added to queue coprocessor requests for execution, which can avoid OOM in some cases. Added two configs `cop_pool_size` and `batch_cop_pool_size`, default `NumOfPhysicalCores*2`. [#1312](https://github.com/pingcap/tics/pull/1312) + +## Improvements + ++ TiDB + + - Reorder inner joins simplified from outer joins [#22402](https://github.com/pingcap/tidb/pull/22402) + ++ TiFlash + + - Metrics: grafana dashboards support multiple clusters [#1384](https://github.com/pingcap/tics/pull/1384) ## Bug Fixes @@ -64,23 +80,7 @@ TiDB version: v4.0.11 - Fix the bug that TiFlash may crash when reading data [#1358](https://github.com/pingcap/tics/pull/1358) - Fix the issue that some data written after DDL operation may be lost after data compaction [#1350](https://github.com/pingcap/tics/pull/1350) -## Improvements - -+ TiDB - - - Reorder inner joins simplified from outer joins [#22402](https://github.com/pingcap/tidb/pull/22402) - -+ TiFlash - - - Metrics: grafana dashboards support multiple clusters [#1384](https://github.com/pingcap/tics/pull/1384) - -## New Features - -+ TiFlash - - - A coprocessor thread pool was added to queue coprocessor requests for execution, which can avoid OOM in some cases. Added two configs `cop_pool_size` and `batch_cop_pool_size`, default `NumOfPhysicalCores*2`. [#1312](https://github.com/pingcap/tics/pull/1312) - -## Others +## 请判断以下 note 是否为本次发版所需。如果是,请移动到以上分类中或指出其所属分类。如果不是,请删除相应的 note + TiDB diff --git a/releases/release-notes.md b/releases/release-notes.md index 052488c90c63a..903f159c0862d 100644 --- a/releases/release-notes.md +++ b/releases/release-notes.md @@ -11,6 +11,7 @@ aliases: ['/docs/dev/releases/release-notes/','/docs/dev/releases/rn/'] ## 4.0 +- [4.0.11](/releases/release-4.0.11.md) - [4.0.10](/releases/release-4.0.10.md) - [4.0.9](/releases/release-4.0.9.md) - [4.0.8](/releases/release-4.0.8.md) From 75a0bf1e731610bfcc5497b2eb991fca70c9fd3d Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Tue, 2 Feb 2021 12:07:10 +0800 Subject: [PATCH 03/21] add TiKV and TiFlash notes --- releases/release-4.0.11.md | 52 ++++++++++++++++++++++---------------- 1 file changed, 30 insertions(+), 22 deletions(-) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index 0f40eabc2700d..acfd4fa35d179 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -12,9 +12,14 @@ TiDB version: 4.0.11 ## New Features ++ TiKV + + - Add `utf8mb4_unicode_ci` implement [#9577](https://github.com/tikv/tikv/pull/9577) + - Add `cast_year_as_time` [#9299](https://github.com/tikv/tikv/pull/9299) + + TiFlash - - A coprocessor thread pool was added to queue coprocessor requests for execution, which can avoid OOM in some cases. Added two configs `cop_pool_size` and `batch_cop_pool_size`, default `NumOfPhysicalCores*2`. [#1312](https://github.com/pingcap/tics/pull/1312) + - A coprocessor thread pool was added to queue coprocessor requests for execution, which can avoid OOM in some cases. Added two configs `cop_pool_size` and `batch_cop_pool_size`, default `NumOfPhysicalCores*2` [#1312](https://github.com/pingcap/tics/pull/1312) ## Improvements @@ -22,9 +27,20 @@ TiDB version: 4.0.11 - Reorder inner joins simplified from outer joins [#22402](https://github.com/pingcap/tidb/pull/22402) ++ TiKV + + - Add server info metrics for DBasS [#9591](https://github.com/tikv/tikv/pull/9591) + - Grafana dashboards support multiple clusters [#9572](https://github.com/tikv/tikv/pull/9572) + - Report RocksDB metrics to TiDB [#9316](https://github.com/tikv/tikv/pull/9316) + - Record suspend time for coprocessor task [#9277](https://github.com/tikv/tikv/pull/9277) + - Add key and size threshold for load-base-split [#9354](https://github.com/tikv/tikv/pull/9354) + - Check whether file exist before importing [#9544](https://github.com/tikv/tikv/pull/9544) + - Improve Fast Tune panels [#9180](https://github.com/tikv/tikv/pull/9180) + + TiFlash - - Metrics: grafana dashboards support multiple clusters [#1384](https://github.com/pingcap/tics/pull/1384) + - Optimize the performance of date_format function in TiFlash [#1339](https://github.com/pingcap/tics/pull/1339) + - Optimize memory consumption of handling ingest SST ## Bug Fixes @@ -70,6 +86,18 @@ TiDB version: 4.0.11 - Use “round to nearest even” rule instead of “round half away from zero” for approximate-value numbers [#21628](https://github.com/pingcap/tidb/pull/21628) - The single-argument `WEEK()` call now recognize the global `@@default_week_format` even when the session one is not set explicitly. [#21623](https://github.com/pingcap/tidb/pull/21623) ++ TiKV + + - Fix failed to build TiKV with PROST=1 [#9604](https://github.com/tikv/tikv/pull/9604) + - Fix unmatched memory information [#9589](https://github.com/tikv/tikv/pull/9589) + - Fix the issue that end key of a partial rawkv-restore range is inclusive [#9583](https://github.com/tikv/tikv/pull/9583) + - Fix the issue that when loading old value for CDC's incremental scan on a key where there's a rolled back transaction, in some cases TiKV may panic. [#9569](https://github.com/tikv/tikv/pull/9569) + - Fix old value config glitch when changefeeds with different settings connect to one region [#9565](https://github.com/tikv/tikv/pull/9565) + - Fix a crash problem when running a TiKV on a machine with a network interface lacking MAC address since v4.0.9. [#9516](https://github.com/tikv/tikv/pull/9516) + - Fix the problem that TiKV OOM when we backup a huge region. [#9448](https://github.com/tikv/tikv/pull/9448) + - Fix `region-split-check-diff` can not be customized [#9530](https://github.com/tikv/tikv/pull/9530) + - Fix TiKV panicked when system time go back [#9542](https://github.com/tikv/tikv/pull/9542) + + PD - Fix the issue that member health metrics not correct [#3368](https://github.com/pingcap/pd/pull/3368) @@ -96,32 +124,12 @@ TiDB version: 4.0.11 - Add `utf8_unicode_ci` and `utf8mb4_unicode_ci` interface. [#22099](https://github.com/pingcap/tidb/pull/22099) - Error message redact normalize. [#21889](https://github.com/pingcap/tidb/pull/21889) -+ TiKV - - - No release notes [#9604](https://github.com/tikv/tikv/pull/9604) - - Server: add server info metrics for DBasS [#9591](https://github.com/tikv/tikv/pull/9591) - - Fix unmatched memory information [#9589](https://github.com/tikv/tikv/pull/9589) - - (I'm not sure if it's necessary) [#9583](https://github.com/tikv/tikv/pull/9583) - - Add utf8mb4_unicode_ci implement [#9577](https://github.com/tikv/tikv/pull/9577) - - Metrics: grafana dashboards support multiple clusters [#9572](https://github.com/tikv/tikv/pull/9572) - - Fix the issue that when loading old value for CDC's incremental scan on a key where there's a rolled back transaction, in some cases TiKV may panic. [#9569](https://github.com/tikv/tikv/pull/9569) - - Fix old value config glitch when changefeeds with different settings connect to one region [#9565](https://github.com/tikv/tikv/pull/9565) - - Fixes a crash problem when running a TiKV on a machine with a network interface lacking MAC address since v4.0.9. [#9516](https://github.com/tikv/tikv/pull/9516) - - Fix the problem that TiKV OOM when we backup a huge region. [#9448](https://github.com/tikv/tikv/pull/9448) - - Report RocksDB metrics to TiDB [#9316](https://github.com/tikv/tikv/pull/9316) - - Add `cast_year_as_time` [#9299](https://github.com/tikv/tikv/pull/9299) - - Record suspend time for coprocessor task [#9277](https://github.com/tikv/tikv/pull/9277) - + PD - Fix the issue that the store limit cannot be persisted [#3403](https://github.com/pingcap/pd/pull/3403) - Fix the limit constriction of the scatter range scheduler [#3401](https://github.com/pingcap/pd/pull/3401) - Metrics: grafana dashboards support multiple clusters [#3398](https://github.com/pingcap/pd/pull/3398) -+ TiFlash - - - Optimize the performance of date_format function in TiFlash [#1339](https://github.com/pingcap/tics/pull/1339) - + Tools - BR From fc71226d098bc73d8b7b1de0ea879db05f98627c Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Wed, 3 Feb 2021 11:47:55 +0800 Subject: [PATCH 04/21] add a tiflash note --- releases/release-4.0.11.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index acfd4fa35d179..0fe2879da85cf 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -105,6 +105,7 @@ TiDB version: 4.0.11 + TiFlash + - Fix the bug that `min/max` result is wrong for decimal types - Fix the bug that TiFlash may crash when reading data [#1358](https://github.com/pingcap/tics/pull/1358) - Fix the issue that some data written after DDL operation may be lost after data compaction [#1350](https://github.com/pingcap/tics/pull/1350) @@ -122,7 +123,7 @@ TiDB version: 4.0.11 - TiDB 4.0.9 fixed a security issue, where TiDB incorrectly permitted multiple statements to be executed in one `COM_QUERY` packet, leading to increased risk of SQL injection. To provide backwards compatibility for applications that depend on this behavior, a new option `tidb_multi_statement_mode` has been added. Assuming you understand the security risks, you can revert to the 4.0.8 by executing `SET GLOBAL tidb_multi_statement_mode='ON'`. The default behavior of `tidb_multi_statement_mode` also relaxes the error introduced in 4.0.9 to a warning. It is intended to be changed to an error again in a future release. [#22468](https://github.com/pingcap/tidb/pull/22468) - Metrics slow query is divided into internal and general [#22405](https://github.com/pingcap/tidb/pull/22405) - Add `utf8_unicode_ci` and `utf8mb4_unicode_ci` interface. [#22099](https://github.com/pingcap/tidb/pull/22099) - - Error message redact normalize. [#21889](https://github.com/pingcap/tidb/pull/21889) + - Error message redact normalize. [#21889](https://github.com/pingcap/tidb/pull/21889) [#21891](https://github.com/pingcap/tidb/pull/21891) [#22669](https://github.com/pingcap/tidb/pull/22669) + PD From 6821e358d579e6a0a8ba58c3ecb3d9c87ab83b71 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Wed, 3 Feb 2021 16:34:11 +0800 Subject: [PATCH 05/21] add tidb, pd and tools notes --- releases/release-4.0.11.md | 85 ++++++++++++++++++++++---------------- 1 file changed, 50 insertions(+), 35 deletions(-) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index 0fe2879da85cf..ebeabadbe1785 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -8,10 +8,12 @@ Release date: February 4, 2021 TiDB version: 4.0.11 -## Compatibility Changes - ## New Features ++ TiDB + + - Implement `utf8_unicode_ci` and `utf8mb4_unicode_ci` collation [#22558](https://github.com/pingcap/tidb/pull/22558) + + TiKV - Add `utf8mb4_unicode_ci` implement [#9577](https://github.com/tikv/tikv/pull/9577) @@ -26,6 +28,10 @@ TiDB version: 4.0.11 + TiDB - Reorder inner joins simplified from outer joins [#22402](https://github.com/pingcap/tidb/pull/22402) + - Metrics: grafana dashboards support multiple clusters [#22534](https://github.com/pingcap/tidb/pull/22534) + - server, sessionctx: add multi statement workaround. [#22468](https://github.com/pingcap/tidb/pull/22468) + - Metrics slow query is divided into internal and general [#22405](https://github.com/pingcap/tidb/pull/22405) + - Add `utf8_unicode_ci` and `utf8mb4_unicode_ci` interface. [#22099](https://github.com/pingcap/tidb/pull/22099) + TiKV @@ -37,15 +43,36 @@ TiDB version: 4.0.11 - Check whether file exist before importing [#9544](https://github.com/tikv/tikv/pull/9544) - Improve Fast Tune panels [#9180](https://github.com/tikv/tikv/pull/9180) ++ PD + + - Metrics: grafana dashboards support multiple clusters [#3398](https://github.com/pingcap/pd/pull/3398) + + TiFlash - Optimize the performance of date_format function in TiFlash [#1339](https://github.com/pingcap/tics/pull/1339) - Optimize memory consumption of handling ingest SST ++ Tools + + + TiCDC + + - Add version in capture info and changefeed info [#1342](https://github.com/pingcap/ticdc/pull/1342) + + + TiDB Lightning + + - Improve import performance by creating tables in parallel [#502](https://github.com/pingcap/tidb-lightning/pull/502) + - Improve import performance by skipping split regions if engine total size is smaller than region size [#524](https://github.com/pingcap/tidb-lightning/pull/524) + - Add importing progress and optimize the accuracy of restore progress [#506](https://github.com/pingcap/tidb-lightning/pull/506) + ## Bug Fixes + TiDB + - Incorporate unicode_ci into constant propagation [#22614](https://github.com/pingcap/tidb/pull/22614) + - Fix an issue that cause wrong collation and coercibility [#22602](https://github.com/pingcap/tidb/pull/22602) + - Fix an issue that may get wrong collation result [#22599](https://github.com/pingcap/tidb/pull/22599) + - Refine `CollationStrictness` to support incompatible strictnessship [#22582](https://github.com/pingcap/tidb/pull/22582) + - Fix a bug that the `like` function returns the wrong result when using collation [#22531](https://github.com/pingcap/tidb/pull/22531) - Expression: handle duration type infer in least and greatest [#22580](https://github.com/pingcap/tidb/pull/22580) - Fixed LIKE expressions when a single character (`_`) wildcard follows a multiple character wildcard (`%`). [#22575](https://github.com/pingcap/tidb/pull/22575) - Expression: fix type infer for TiDB's builtin compare(least and greatest) [#22562](https://github.com/pingcap/tidb/pull/22562) @@ -102,6 +129,8 @@ TiDB version: 4.0.11 - Fix the issue that member health metrics not correct [#3368](https://github.com/pingcap/pd/pull/3368) - If a tombstone store still has peers, make it cannot be removed. [#3352](https://github.com/pingcap/pd/pull/3352) + - Fix the issue that the store limit cannot be persisted [#3403](https://github.com/pingcap/pd/pull/3403) + - Fix the limit constriction of the scatter range scheduler [#3401](https://github.com/pingcap/pd/pull/3401) + TiFlash @@ -109,42 +138,28 @@ TiDB version: 4.0.11 - Fix the bug that TiFlash may crash when reading data [#1358](https://github.com/pingcap/tics/pull/1358) - Fix the issue that some data written after DDL operation may be lost after data compaction [#1350](https://github.com/pingcap/tics/pull/1350) -## 请判断以下 note 是否为本次发版所需。如果是,请移动到以上分类中或指出其所属分类。如果不是,请删除相应的 note - -+ TiDB - - - Incorporate unicode_ci into constant propagation [#22614](https://github.com/pingcap/tidb/pull/22614) - - Fix an issue that cause wrong collation and coercibility [#22602](https://github.com/pingcap/tidb/pull/22602) - - Fix an issue that may get wrong collation result [#22599](https://github.com/pingcap/tidb/pull/22599) - - Refine `CollationStrictness` to support incompatible strictnessship [#22582](https://github.com/pingcap/tidb/pull/22582) - - Implement `utf8_unicode_ci` and `utf8mb4_unicode_ci` collation [#22558](https://github.com/pingcap/tidb/pull/22558) - - Metrics: grafana dashboards support multiple clusters [#22534](https://github.com/pingcap/tidb/pull/22534) - - Fix a bug that the `like` function returns the wrong result when using collation [#22531](https://github.com/pingcap/tidb/pull/22531) - - TiDB 4.0.9 fixed a security issue, where TiDB incorrectly permitted multiple statements to be executed in one `COM_QUERY` packet, leading to increased risk of SQL injection. To provide backwards compatibility for applications that depend on this behavior, a new option `tidb_multi_statement_mode` has been added. Assuming you understand the security risks, you can revert to the 4.0.8 by executing `SET GLOBAL tidb_multi_statement_mode='ON'`. The default behavior of `tidb_multi_statement_mode` also relaxes the error introduced in 4.0.9 to a warning. It is intended to be changed to an error again in a future release. [#22468](https://github.com/pingcap/tidb/pull/22468) - - Metrics slow query is divided into internal and general [#22405](https://github.com/pingcap/tidb/pull/22405) - - Add `utf8_unicode_ci` and `utf8mb4_unicode_ci` interface. [#22099](https://github.com/pingcap/tidb/pull/22099) - - Error message redact normalize. [#21889](https://github.com/pingcap/tidb/pull/21889) [#21891](https://github.com/pingcap/tidb/pull/21891) [#22669](https://github.com/pingcap/tidb/pull/22669) - -+ PD ++ Tools - - Fix the issue that the store limit cannot be persisted [#3403](https://github.com/pingcap/pd/pull/3403) - - Fix the limit constriction of the scatter range scheduler [#3401](https://github.com/pingcap/pd/pull/3401) - - Metrics: grafana dashboards support multiple clusters [#3398](https://github.com/pingcap/pd/pull/3398) + + TiCDC -+ Tools + - Fix a bug that cdc server could exit unexpected when meeting ErrTaskStatusNotExists and the capture session is disconnected at the same time [#1240](https://github.com/pingcap/ticdc/pull/1240) + - Fix the old-value switch of a changefeed could be affected by another changefeed [#1347](https://github.com/pingcap/ticdc/pull/1347) + - Fix a bug that TiCDC server could hang when processing a new changefeed with invalid sort-engine parameter [#1309](https://github.com/pingcap/ticdc/pull/1309) + - fix debug info panic on none owner node [#1349](https://github.com/pingcap/ticdc/pull/1349) + - Fix metric `ticdc_processor_num_of_tables` and `ticdc_processor_table_resolved_ts` are properly updated when processor removes a table or the processor itself stops [#1351](https://github.com/pingcap/ticdc/pull/1351) + - Fix potential data loss if a processor crashes when starting up a table [#1363](https://github.com/pingcap/ticdc/pull/1363) + - Fix a bug in the owner that could lead to abnormal CDC server exits during table migrations [#1352](https://github.com/pingcap/ticdc/pull/1352) + - Fix a bug TiCDC does not fail in time after service safepoint is lost [#1367](https://github.com/pingcap/ticdc/pull/1367) + - Fix a bug that kv client may skip to recreate event feed receiving routine by accident [#1336](https://github.com/pingcap/ticdc/pull/1336) + - Fix a bug that atomicity of transactions is broken in the downstream [#1375](https://github.com/pingcap/ticdc/pull/1375) - - BR + + Backup & Restore (BR) - * Fix the issue that in rawkv mode, the end key of restoring range may be included, which is expected to be exclusive. [#726](https://github.com/pingcap/br/pull/726) + - Fix the issue that missing file size in SSTMeta might cause TiKV to generate a big region [#702](https://github.com/pingcap/br/pull/702) + - Fix the issue that br restores table auto id even if the table does not have one [#720](https://github.com/pingcap/br/pull/720) - - TiCDC + + TiDB Lightning - * Fix atomicity of transactions is broken in the downstream [#1375](https://github.com/pingcap/ticdc/pull/1375) - * Fix a bug that kv client may skip to recreate event feed receiving routine by accident. [#1373](https://github.com/pingcap/ticdc/pull/1373) - * Adjust default sort-dir and add warnings about choice of sort-dir [#1372](https://github.com/pingcap/ticdc/pull/1372) - * Check update safepoint error. [#1367](https://github.com/pingcap/ticdc/pull/1367) - * Fix potential data loss if a processor crashes when starting up a table. [#1363](https://github.com/pingcap/ticdc/pull/1363) - * Fix metric `ticdc_processor_num_of_tables` and `ticdc_processor_table_resolved_ts` are properly updated when processor removes a table or the processor itself stops. [#1351](https://github.com/pingcap/ticdc/pull/1351) - * Metrics: grafana dashboards support multiple clusters [#1350](https://github.com/pingcap/ticdc/pull/1350) - * Fix a bug that TiCDC server could hang when processing a new changefeed with invalid sort-engine parameter [#1326](https://github.com/pingcap/ticdc/pull/1326) - * Fix the output in changefeed out of order [#1323](https://github.com/pingcap/ticdc/pull/1323) + - Fix the bug that TiDB-Lightning will trim all the empty sep when trim-last-sep is true, which causes "column count mismatch" in tidb backend [#535](https://github.com/pingcap/tidb-lightning/pull/535) + - Fix the bug that tidb backend will panics if source file columns are more than target table columns [#528](https://github.com/pingcap/tidb-lightning/pull/528) + - Fix the bug that TiKV may panics if TiDB-Lightning retry ingest with retry write [#554](https://github.com/pingcap/tidb-lightning/pull/554) From 31d70b0e256b308d31a2f10fd505cf494c52fe1f Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Wed, 3 Feb 2021 21:36:40 +0800 Subject: [PATCH 06/21] language review --- releases/release-4.0.11.md | 190 ++++++++++++++++++------------------- 1 file changed, 95 insertions(+), 95 deletions(-) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index ebeabadbe1785..b47bb24e6692c 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -12,154 +12,154 @@ TiDB version: 4.0.11 + TiDB - - Implement `utf8_unicode_ci` and `utf8mb4_unicode_ci` collation [#22558](https://github.com/pingcap/tidb/pull/22558) + - Support the `utf8_unicode_ci` and `utf8mb4_unicode_ci` collations [#22558](https://github.com/pingcap/tidb/pull/22558) + TiKV - - Add `utf8mb4_unicode_ci` implement [#9577](https://github.com/tikv/tikv/pull/9577) - - Add `cast_year_as_time` [#9299](https://github.com/tikv/tikv/pull/9299) + - Support the `utf8mb4_unicode_ci` collation [#9577](https://github.com/tikv/tikv/pull/9577) + - Support the `cast_year_as_time` collation [#9299](https://github.com/tikv/tikv/pull/9299) + TiFlash - - - A coprocessor thread pool was added to queue coprocessor requests for execution, which can avoid OOM in some cases. Added two configs `cop_pool_size` and `batch_cop_pool_size`, default `NumOfPhysicalCores*2` [#1312](https://github.com/pingcap/tics/pull/1312) +s + - Add a Coprocessor thread pool to queue Coprocessor requests for execution, which avoids out of memory (OOM) in some cases, and add the `cop_pool_size` and `batch_cop_pool_size` configuration items with the default values of `NumOfPhysicalCores * 2` [#1312](https://github.com/pingcap/tics/pull/1312) ## Improvements + TiDB - - Reorder inner joins simplified from outer joins [#22402](https://github.com/pingcap/tidb/pull/22402) - - Metrics: grafana dashboards support multiple clusters [#22534](https://github.com/pingcap/tidb/pull/22534) - - server, sessionctx: add multi statement workaround. [#22468](https://github.com/pingcap/tidb/pull/22468) - - Metrics slow query is divided into internal and general [#22405](https://github.com/pingcap/tidb/pull/22405) - - Add `utf8_unicode_ci` and `utf8mb4_unicode_ci` interface. [#22099](https://github.com/pingcap/tidb/pull/22099) + - Reorder inner joins that are simplified from outer joins [#22402](https://github.com/pingcap/tidb/pull/22402) + - Supports multiple clusters in Grafana dashboards [#22534](https://github.com/pingcap/tidb/pull/22534) + - Add a workaround for the issue of multiple statements [#22468](https://github.com/pingcap/tidb/pull/22468) + - Divide the metrics of slow query into `internal` and `general` [#22405](https://github.com/pingcap/tidb/pull/22405) + - Add the interface for `utf8_unicode_ci` and `utf8mb4_unicode_ci` collations [#22099](https://github.com/pingcap/tidb/pull/22099) + TiKV - - Add server info metrics for DBasS [#9591](https://github.com/tikv/tikv/pull/9591) - - Grafana dashboards support multiple clusters [#9572](https://github.com/tikv/tikv/pull/9572) + - Add metrics of server information for DBasS [#9591](https://github.com/tikv/tikv/pull/9591) + - Supports multiple clusters in Grafana dashboards [#9572](https://github.com/tikv/tikv/pull/9572) - Report RocksDB metrics to TiDB [#9316](https://github.com/tikv/tikv/pull/9316) - - Record suspend time for coprocessor task [#9277](https://github.com/tikv/tikv/pull/9277) - - Add key and size threshold for load-base-split [#9354](https://github.com/tikv/tikv/pull/9354) - - Check whether file exist before importing [#9544](https://github.com/tikv/tikv/pull/9544) + - Record the suspension time for Coprocessor tasks [#9277](https://github.com/tikv/tikv/pull/9277) + - Add thresholds of key counts and key size for load-base-split [#9354](https://github.com/tikv/tikv/pull/9354) + - Check whether the file exists before data import [#9544](https://github.com/tikv/tikv/pull/9544) - Improve Fast Tune panels [#9180](https://github.com/tikv/tikv/pull/9180) + PD - - Metrics: grafana dashboards support multiple clusters [#3398](https://github.com/pingcap/pd/pull/3398) + - Supports multiple clusters in Grafana dashboards [#3398](https://github.com/pingcap/pd/pull/3398) + TiFlash - - Optimize the performance of date_format function in TiFlash [#1339](https://github.com/pingcap/tics/pull/1339) - - Optimize memory consumption of handling ingest SST + - Optimize the performance of the `date_format` function in TiFlash + - Optimize the memory consumption of handling ingest SST + Tools + TiCDC - - Add version in capture info and changefeed info [#1342](https://github.com/pingcap/ticdc/pull/1342) + - Add the version information in the `capture` metadata and add the CLI version of a `changefeed` in its metadata [#1342](https://github.com/pingcap/ticdc/pull/1342) + TiDB Lightning - - Improve import performance by creating tables in parallel [#502](https://github.com/pingcap/tidb-lightning/pull/502) - - Improve import performance by skipping split regions if engine total size is smaller than region size [#524](https://github.com/pingcap/tidb-lightning/pull/524) - - Add importing progress and optimize the accuracy of restore progress [#506](https://github.com/pingcap/tidb-lightning/pull/506) + - Create tables in parallel to improve the import performance [#502](https://github.com/pingcap/tidb-lightning/pull/502) + - Skip splitting Regions to improve the import performance if the engine's total size is smaller than the Region size [#524](https://github.com/pingcap/tidb-lightning/pull/524) + - Add the import progress bar and optimize the accuracy of restore progress [#506](https://github.com/pingcap/tidb-lightning/pull/506) ## Bug Fixes + TiDB - - Incorporate unicode_ci into constant propagation [#22614](https://github.com/pingcap/tidb/pull/22614) - - Fix an issue that cause wrong collation and coercibility [#22602](https://github.com/pingcap/tidb/pull/22602) - - Fix an issue that may get wrong collation result [#22599](https://github.com/pingcap/tidb/pull/22599) - - Refine `CollationStrictness` to support incompatible strictnessship [#22582](https://github.com/pingcap/tidb/pull/22582) - - Fix a bug that the `like` function returns the wrong result when using collation [#22531](https://github.com/pingcap/tidb/pull/22531) - - Expression: handle duration type infer in least and greatest [#22580](https://github.com/pingcap/tidb/pull/22580) - - Fixed LIKE expressions when a single character (`_`) wildcard follows a multiple character wildcard (`%`). [#22575](https://github.com/pingcap/tidb/pull/22575) - - Expression: fix type infer for TiDB's builtin compare(least and greatest) [#22562](https://github.com/pingcap/tidb/pull/22562) - - Fix a bug that makes the `like` function get the wrong result if pattern string is a Unicode string [#22529](https://github.com/pingcap/tidb/pull/22529) - - Fix a bug that point get query does not get the snapshot data when the `@@tidb_snapshot` variable is set. [#22527](https://github.com/pingcap/tidb/pull/22527) - - Avoid potential panic when generating hints from joins [#22518](https://github.com/pingcap/tidb/pull/22518) - - Convert string to MySQL BIT correctly [#22420](https://github.com/pingcap/tidb/pull/22420) - - Fix the 'index out of range ' issue when insert values to `tidb_rowid`. [#22359](https://github.com/pingcap/tidb/pull/22359) - - Fix a bug about incorrectly reuse cached plan [#22353](https://github.com/pingcap/tidb/pull/22353) - - Fix runtime panic in WEIGHT_STRING function when the length of binary/char is too large [#22332](https://github.com/pingcap/tidb/pull/22332) - - Forbidden the invalid generated column with incorrect argument count. [#22174](https://github.com/pingcap/tidb/pull/22174) - - Show process info when building plan. [#22148](https://github.com/pingcap/tidb/pull/22148) - - Fix issue of runtime stats of index lookup reader doesn't accurate. [#22136](https://github.com/pingcap/tidb/pull/22136) - - Add a cache for memory info when the cluster is deployed in container. [#22116](https://github.com/pingcap/tidb/pull/22116) - - Fix issue of decode plan error cause by without escape special char. [#22022](https://github.com/pingcap/tidb/pull/22022) - - Report error for invalid window specifications which are not used in window functions. [#21976](https://github.com/pingcap/tidb/pull/21976) - - Throw error when prepared statement is execute, deallocate or prepare [#21972](https://github.com/pingcap/tidb/pull/21972) - - Fix `insert ignore` into not exists partition should not report error [#21971](https://github.com/pingcap/tidb/pull/21971) - - Unify the plan code for explain result and slow log. [#21964](https://github.com/pingcap/tidb/pull/21964) - - Fix unknown columns in join using below agg [#21957](https://github.com/pingcap/tidb/pull/21957) - - Fix wrong type inferring for ceiling function. [#21936](https://github.com/pingcap/tidb/pull/21936) - - Double type column from table should ignore its decimal [#21916](https://github.com/pingcap/tidb/pull/21916) - - Fix correlated aggregates which should be evaluated in outer query instead of in subqueries. [#21877](https://github.com/pingcap/tidb/pull/21877) - - Report error for json object with key length >= 65536. [#21870](https://github.com/pingcap/tidb/pull/21870) - - Fix compatibility issue with MySQL for function `dayname` [#21850](https://github.com/pingcap/tidb/pull/21850) - - When using input types longer than blob (such as a longblob or longtext), the function `to_base64` always returned `NULL`. It now returns the correct value. [#21813](https://github.com/pingcap/tidb/pull/21813) - - Fix the fail when we compare multi fields in the subquery [#21808](https://github.com/pingcap/tidb/pull/21808) - - Fix compare float64 with float64 in json [#21785](https://github.com/pingcap/tidb/pull/21785) - - Fix compare object json type [#21718](https://github.com/pingcap/tidb/pull/21718) - - Fix the coercibility of the cast function [#21714](https://github.com/pingcap/tidb/pull/21714) - - Fix unexpected panic when using IF function [#21711](https://github.com/pingcap/tidb/pull/21711) - - Fix #20161, json search result null is not compatible with mysql [#21700](https://github.com/pingcap/tidb/pull/21700) - - Check for only_full_group_by in ORDER BY and HAVING for query without group clause. [#21697](https://github.com/pingcap/tidb/pull/21697) - - Fix the compatibility of extract day_time unit functions [#21676](https://github.com/pingcap/tidb/pull/21676) - - Fix LEAD and LAG's default value can not adapt to field type [#21665](https://github.com/pingcap/tidb/pull/21665) - - TiDB now checks to make sure that the `LOAD DATA` statement can only load data into base tables. [#21638](https://github.com/pingcap/tidb/pull/21638) - - Handle invalid argument for addtime and subtime function [#21635](https://github.com/pingcap/tidb/pull/21635) - - Use “round to nearest even” rule instead of “round half away from zero” for approximate-value numbers [#21628](https://github.com/pingcap/tidb/pull/21628) - - The single-argument `WEEK()` call now recognize the global `@@default_week_format` even when the session one is not set explicitly. [#21623](https://github.com/pingcap/tidb/pull/21623) + - Fix the issue of abnormal `unicode_ci` constant propagation [#22614](https://github.com/pingcap/tidb/pull/22614) + - Fix the issue that might causes wrong collation and coercibility [#22602](https://github.com/pingcap/tidb/pull/22602) + - Fix the issue that might cause wrong collation results [#22599](https://github.com/pingcap/tidb/pull/22599) + - Fix the issue of constant substitution between collations [#22582](https://github.com/pingcap/tidb/pull/22582) + - Fix a bug that the `like` function might return the wrong result when using collation [#22531](https://github.com/pingcap/tidb/pull/22531) + - Fix the error of inferring the `duration` type in `least` and `greatest` functions [#22580](https://github.com/pingcap/tidb/pull/22580) + - Fix a bug that occurs when the `like` function handles a single character wildcard (`_`) followed by a multiple character wildcard (`%`) [#22575](https://github.com/pingcap/tidb/pull/22575) + - Fix the error of type inference when comparing TiDB's built-in functions (least and greatest) [#22562](https://github.com/pingcap/tidb/pull/22562) + - Fix a bug that makes the `like` function get the wrong result if the pattern string is a unicode string [#22529](https://github.com/pingcap/tidb/pull/22529) + - Fix a bug that the point get query does not get the snapshot data when the `@@tidb_snapshot` variable is set [#22527](https://github.com/pingcap/tidb/pull/22527) + - Fix the potential panic that occurs when generating hints from joins [#22518](https://github.com/pingcap/tidb/pull/22518) + - Fix the issue that strings are incorrectly converted to the `BIT` type [#22420](https://github.com/pingcap/tidb/pull/22420) + - Fix the `index out of range` error that occurs when inserting values to the `tidb_rowid` column [#22359](https://github.com/pingcap/tidb/pull/22359) + - Fix a bug that the cached plan is incorrectly used [#22353](https://github.com/pingcap/tidb/pull/22353) + - Fix the runtime panic in the `WEIGHT_STRING` function when the length of the binary/char string is too large [#22332](https://github.com/pingcap/tidb/pull/22332) + - Fix the issue that the generated column is incorrectly used when argument numbers are invalid [#22174](https://github.com/pingcap/tidb/pull/22174) + - Show the process information when building the execution plan [#22148](https://github.com/pingcap/tidb/pull/22148) + - Fix the issue of inaccurate runtime statistics of `IndexLookUp` [#22136](https://github.com/pingcap/tidb/pull/22136) + - Add cache for the memory usage information when the cluster is deployed in container [#22116](https://github.com/pingcap/tidb/pull/22116) + - Fix the issue that the execution plan is incorrectly decoded [#22022](https://github.com/pingcap/tidb/pull/22022) + - Report errors for using invalid window specifications [#21976](https://github.com/pingcap/tidb/pull/21976) + - Throw errors when the `PREPARE` statement is nested with `EXECUTE`, `DEALLOCATE` or `PREPARE` [#21972](https://github.com/pingcap/tidb/pull/21972) + - Fix the issue that no error is reported when the `INSERT IGNORE` statement is used on a non-existing partition [#21971](https://github.com/pingcap/tidb/pull/21971) + - Unify the encoding for `EXPLAIN` results and slow log [#21964](https://github.com/pingcap/tidb/pull/21964) + - Fix the issue of unknown column in join when using the aggregation function [#21957](https://github.com/pingcap/tidb/pull/21957) + - Fix the wrong type inference in the `ceiling` function [#21936](https://github.com/pingcap/tidb/pull/21936) + - Fix the issue that the `Double` type column ignores its decimal [#21916](https://github.com/pingcap/tidb/pull/21916) + - Fix the issue that the correlated aggregation is calculated in subqueries [#21877](https://github.com/pingcap/tidb/pull/21877) + - Report errors for the JSON object with key length >= 65536 [#21870](https://github.com/pingcap/tidb/pull/21870) + - Fix the issue that the `dyname` function is incompatible with MySQL [#21850](https://github.com/pingcap/tidb/pull/21850) + - Fix the issue that the `to_base64` function returns `NULL` when the input data is too long [#21813](https://github.com/pingcap/tidb/pull/21813) + - Fix the failure of comparing multiple fields in the subquery [#21808](https://github.com/pingcap/tidb/pull/21808) + - Fix the issue that occurs when comparing the float type in JSON [#21785](https://github.com/pingcap/tidb/pull/21785) + - Fix the issue that occurs when comparing the types of JSON objects [#21718](https://github.com/pingcap/tidb/pull/21718) + - Fix the issue that the coercibility value of the `cast` function is incorrectly set [#21714](https://github.com/pingcap/tidb/pull/21714) + - Fix an unexpected panic when using the `IF` function [#21711](https://github.com/pingcap/tidb/pull/21711) + - Fix the issue that the `NULL` result returned from JSON search is incompatible with MySQL [#21700](https://github.com/pingcap/tidb/pull/21700) + - Fix the issue that occurs when checking the `only_full_group_by` mode using `ORDER BY` and `HAVING` [#21697](https://github.com/pingcap/tidb/pull/21697) + - Fix the issue that the units of `Day` and `Time` are incompatible with MySQL [#21676](https://github.com/pingcap/tidb/pull/21676) + - Fix the issue that `LEAD` and `LAG`'s default value cannot adapt to the field type [#21665](https://github.com/pingcap/tidb/pull/21665) + - Perform a check to ensure that the `LOAD DATA` statement can only load data into base tables [#21638](https://github.com/pingcap/tidb/pull/21638) + - Fix the issue that occurs when `addtime` and `subtime` functions handle invalid arguments [#21635](https://github.com/pingcap/tidb/pull/21635) + - Change the round rule for approximate values to "round to nearest even" [#21628](https://github.com/pingcap/tidb/pull/21628) + - Fix the issue that `WEEK()` does not recognize `@@GLOBAL.default_week_format` until it has been explicitly read [#21623](https://github.com/pingcap/tidb/pull/21623) + TiKV - - Fix failed to build TiKV with PROST=1 [#9604](https://github.com/tikv/tikv/pull/9604) - - Fix unmatched memory information [#9589](https://github.com/tikv/tikv/pull/9589) - - Fix the issue that end key of a partial rawkv-restore range is inclusive [#9583](https://github.com/tikv/tikv/pull/9583) - - Fix the issue that when loading old value for CDC's incremental scan on a key where there's a rolled back transaction, in some cases TiKV may panic. [#9569](https://github.com/tikv/tikv/pull/9569) - - Fix old value config glitch when changefeeds with different settings connect to one region [#9565](https://github.com/tikv/tikv/pull/9565) - - Fix a crash problem when running a TiKV on a machine with a network interface lacking MAC address since v4.0.9. [#9516](https://github.com/tikv/tikv/pull/9516) - - Fix the problem that TiKV OOM when we backup a huge region. [#9448](https://github.com/tikv/tikv/pull/9448) - - Fix `region-split-check-diff` can not be customized [#9530](https://github.com/tikv/tikv/pull/9530) - - Fix TiKV panicked when system time go back [#9542](https://github.com/tikv/tikv/pull/9542) + - Fix the issue that TiKV is failed to build with `PROST=1` [#9604](https://github.com/tikv/tikv/pull/9604) + - Fix the unmatched memory information [#9589](https://github.com/tikv/tikv/pull/9589) + - Fix the issue that the end key of a partial RawKV-restore range is inclusive [#9583](https://github.com/tikv/tikv/pull/9583) + - Fix the issue that TiKV might panic when loading the old value of a key in a rolled-back transaction during TiCDC's incremental scan [#9569](https://github.com/tikv/tikv/pull/9569) + - Fix the configuration glitch of old values when changefeeds with different settings connect to one Region [#9565](https://github.com/tikv/tikv/pull/9565) + - Fix a crash issue that occurs when running a TiKV cluster on a machine with a network interface without the MAC address (introduced since v4.0.9) [#9516](https://github.com/tikv/tikv/pull/9516) + - Fix the issue of TiKV OOM when backing up a huge Region [#9448](https://github.com/tikv/tikv/pull/9448) + - Fix the issue that `region-split-check-diff` cannot be customized [#9530](https://github.com/tikv/tikv/pull/9530) + - Fix the issue of TiKV panic when the system time goes back [#9542](https://github.com/tikv/tikv/pull/9542) + PD - - Fix the issue that member health metrics not correct [#3368](https://github.com/pingcap/pd/pull/3368) - - If a tombstone store still has peers, make it cannot be removed. [#3352](https://github.com/pingcap/pd/pull/3352) + - Fix the issue that member health metrics are incorrectly displayed [#3368](https://github.com/pingcap/pd/pull/3368) + - Forbid removing the tombstone store that still has peers [#3352](https://github.com/pingcap/pd/pull/3352) - Fix the issue that the store limit cannot be persisted [#3403](https://github.com/pingcap/pd/pull/3403) - Fix the limit constriction of the scatter range scheduler [#3401](https://github.com/pingcap/pd/pull/3401) + TiFlash - - Fix the bug that `min/max` result is wrong for decimal types - - Fix the bug that TiFlash may crash when reading data [#1358](https://github.com/pingcap/tics/pull/1358) - - Fix the issue that some data written after DDL operation may be lost after data compaction [#1350](https://github.com/pingcap/tics/pull/1350) + - Fix a bug that the `min`/`max` result is wrong for decimal types + - Fix a bug that TiFlash might crash when reading data [#1358](https://github.com/pingcap/tics/pull/1358) + - Fix the issue that some data written after DDL operations might be lost after data compaction [#1350](https://github.com/pingcap/tics/pull/1350) + Tools + TiCDC - - Fix a bug that cdc server could exit unexpected when meeting ErrTaskStatusNotExists and the capture session is disconnected at the same time [#1240](https://github.com/pingcap/ticdc/pull/1240) - - Fix the old-value switch of a changefeed could be affected by another changefeed [#1347](https://github.com/pingcap/ticdc/pull/1347) - - Fix a bug that TiCDC server could hang when processing a new changefeed with invalid sort-engine parameter [#1309](https://github.com/pingcap/ticdc/pull/1309) - - fix debug info panic on none owner node [#1349](https://github.com/pingcap/ticdc/pull/1349) - - Fix metric `ticdc_processor_num_of_tables` and `ticdc_processor_table_resolved_ts` are properly updated when processor removes a table or the processor itself stops [#1351](https://github.com/pingcap/ticdc/pull/1351) - - Fix potential data loss if a processor crashes when starting up a table [#1363](https://github.com/pingcap/ticdc/pull/1363) - - Fix a bug in the owner that could lead to abnormal CDC server exits during table migrations [#1352](https://github.com/pingcap/ticdc/pull/1352) - - Fix a bug TiCDC does not fail in time after service safepoint is lost [#1367](https://github.com/pingcap/ticdc/pull/1367) - - Fix a bug that kv client may skip to recreate event feed receiving routine by accident [#1336](https://github.com/pingcap/ticdc/pull/1336) - - Fix a bug that atomicity of transactions is broken in the downstream [#1375](https://github.com/pingcap/ticdc/pull/1375) + - Fix a bug that the TiCDC service might unexpectedly exit when `ErrTaskStatusNotExists` and the closing of `capture` session occur at the same time [#1240](https://github.com/pingcap/ticdc/pull/1240) + - Fix the old value switch of a `changefeed` might be affected by another `changefeed` [#1347](https://github.com/pingcap/ticdc/pull/1347) + - Fix a bug that the TiCDC service might hang when processing a new `changefeed` with invalid the `sort-engine` parameter [#1309](https://github.com/pingcap/ticdc/pull/1309) + - Fix the issue of panic that occurs when getting the debugging information on none owner nodes [#1349](https://github.com/pingcap/ticdc/pull/1349) + - Fix the issue that the `ticdc_processor_num_of_tables` and `ticdc_processor_table_resolved_ts` metrics are not properly updated when when adding or removing table [#1351](https://github.com/pingcap/ticdc/pull/1351) + - Fix the issue of potential data loss if a processor crashes when starting up a table [#1363](https://github.com/pingcap/ticdc/pull/1363) + - Fix a bug that the owner might lead to abnormal TiCDC server exits during table migrations [#1352](https://github.com/pingcap/ticdc/pull/1352) + - Fix a bug that TiCDC does not exit in time after the service GC safepoint is lost [#1367](https://github.com/pingcap/ticdc/pull/1367) + - Fix a bug that the KV client might skip creating the event feed [#1336](https://github.com/pingcap/ticdc/pull/1336) + - Fix a bug that the atomicity of transactions is broken when the transactions are replicated to the downstream [#1375](https://github.com/pingcap/ticdc/pull/1375) + Backup & Restore (BR) - - Fix the issue that missing file size in SSTMeta might cause TiKV to generate a big region [#702](https://github.com/pingcap/br/pull/702) - - Fix the issue that br restores table auto id even if the table does not have one [#720](https://github.com/pingcap/br/pull/720) + - Fix the issue that TiKV might be caused to generate a big Region after BR restores the backup [#702](https://github.com/pingcap/br/pull/702) + - Fix the issue that BR restores a table's Auto ID even if the table does not have Auto ID [#720](https://github.com/pingcap/br/pull/720) + TiDB Lightning - - Fix the bug that TiDB-Lightning will trim all the empty sep when trim-last-sep is true, which causes "column count mismatch" in tidb backend [#535](https://github.com/pingcap/tidb-lightning/pull/535) - - Fix the bug that tidb backend will panics if source file columns are more than target table columns [#528](https://github.com/pingcap/tidb-lightning/pull/528) - - Fix the bug that TiKV may panics if TiDB-Lightning retry ingest with retry write [#554](https://github.com/pingcap/tidb-lightning/pull/554) + - Fix a bug that `column count mismatch` might be triggered when using the TiDB-backend [#535](https://github.com/pingcap/tidb-lightning/pull/535) + - Fix a bug that TiDB-backend panics if the column counts of the source file and the column counts of the target table mismatch [#528](https://github.com/pingcap/tidb-lightning/pull/528) + - Fix a bug that TiKV might unexpectedly panic during TiDB Lightning's data import [#554](https://github.com/pingcap/tidb-lightning/pull/554) From ea2505ac160cbb1717bf109eac19cd693b2d4e25 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Wed, 3 Feb 2021 21:38:16 +0800 Subject: [PATCH 07/21] Update release-4.0.11.md --- releases/release-4.0.11.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index b47bb24e6692c..d5dbd37f3a209 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -120,7 +120,7 @@ s - Fix the issue that the end key of a partial RawKV-restore range is inclusive [#9583](https://github.com/tikv/tikv/pull/9583) - Fix the issue that TiKV might panic when loading the old value of a key in a rolled-back transaction during TiCDC's incremental scan [#9569](https://github.com/tikv/tikv/pull/9569) - Fix the configuration glitch of old values when changefeeds with different settings connect to one Region [#9565](https://github.com/tikv/tikv/pull/9565) - - Fix a crash issue that occurs when running a TiKV cluster on a machine with a network interface without the MAC address (introduced since v4.0.9) [#9516](https://github.com/tikv/tikv/pull/9516) + - Fix a crash issue that occurs when running a TiKV cluster on a machine with a network interface without the MAC address (introduced in v4.0.9) [#9516](https://github.com/tikv/tikv/pull/9516) - Fix the issue of TiKV OOM when backing up a huge Region [#9448](https://github.com/tikv/tikv/pull/9448) - Fix the issue that `region-split-check-diff` cannot be customized [#9530](https://github.com/tikv/tikv/pull/9530) - Fix the issue of TiKV panic when the system time goes back [#9542](https://github.com/tikv/tikv/pull/9542) From c0f399cf5f75949447c3087c79335d4d77a74434 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Wed, 3 Feb 2021 21:39:45 +0800 Subject: [PATCH 08/21] Update release-4.0.11.md --- releases/release-4.0.11.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index d5dbd37f3a209..782cbcea528de 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -20,7 +20,7 @@ TiDB version: 4.0.11 - Support the `cast_year_as_time` collation [#9299](https://github.com/tikv/tikv/pull/9299) + TiFlash -s + - Add a Coprocessor thread pool to queue Coprocessor requests for execution, which avoids out of memory (OOM) in some cases, and add the `cop_pool_size` and `batch_cop_pool_size` configuration items with the default values of `NumOfPhysicalCores * 2` [#1312](https://github.com/pingcap/tics/pull/1312) ## Improvements @@ -146,7 +146,7 @@ s - Fix the old value switch of a `changefeed` might be affected by another `changefeed` [#1347](https://github.com/pingcap/ticdc/pull/1347) - Fix a bug that the TiCDC service might hang when processing a new `changefeed` with invalid the `sort-engine` parameter [#1309](https://github.com/pingcap/ticdc/pull/1309) - Fix the issue of panic that occurs when getting the debugging information on none owner nodes [#1349](https://github.com/pingcap/ticdc/pull/1349) - - Fix the issue that the `ticdc_processor_num_of_tables` and `ticdc_processor_table_resolved_ts` metrics are not properly updated when when adding or removing table [#1351](https://github.com/pingcap/ticdc/pull/1351) + - Fix the issue that the `ticdc_processor_num_of_tables` and `ticdc_processor_table_resolved_ts` metrics are not properly updated when when adding or removing tables [#1351](https://github.com/pingcap/ticdc/pull/1351) - Fix the issue of potential data loss if a processor crashes when starting up a table [#1363](https://github.com/pingcap/ticdc/pull/1363) - Fix a bug that the owner might lead to abnormal TiCDC server exits during table migrations [#1352](https://github.com/pingcap/ticdc/pull/1352) - Fix a bug that TiCDC does not exit in time after the service GC safepoint is lost [#1367](https://github.com/pingcap/ticdc/pull/1367) From b1f569132ce7b7b74b68d815191e25b49c9ad4c3 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Thu, 4 Feb 2021 11:42:51 +0800 Subject: [PATCH 09/21] Update release-4.0.11.md --- releases/release-4.0.11.md | 46 +++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index 782cbcea528de..c3ef17289ac50 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -28,41 +28,41 @@ TiDB version: 4.0.11 + TiDB - Reorder inner joins that are simplified from outer joins [#22402](https://github.com/pingcap/tidb/pull/22402) - - Supports multiple clusters in Grafana dashboards [#22534](https://github.com/pingcap/tidb/pull/22534) + - Support multiple clusters in Grafana dashboards [#22534](https://github.com/pingcap/tidb/pull/22534) - Add a workaround for the issue of multiple statements [#22468](https://github.com/pingcap/tidb/pull/22468) - Divide the metrics of slow query into `internal` and `general` [#22405](https://github.com/pingcap/tidb/pull/22405) - - Add the interface for `utf8_unicode_ci` and `utf8mb4_unicode_ci` collations [#22099](https://github.com/pingcap/tidb/pull/22099) + - Add interface for `utf8_unicode_ci` and `utf8mb4_unicode_ci` collations [#22099](https://github.com/pingcap/tidb/pull/22099) + TiKV - Add metrics of server information for DBasS [#9591](https://github.com/tikv/tikv/pull/9591) - - Supports multiple clusters in Grafana dashboards [#9572](https://github.com/tikv/tikv/pull/9572) + - Support multiple clusters in Grafana dashboards [#9572](https://github.com/tikv/tikv/pull/9572) - Report RocksDB metrics to TiDB [#9316](https://github.com/tikv/tikv/pull/9316) - Record the suspension time for Coprocessor tasks [#9277](https://github.com/tikv/tikv/pull/9277) - - Add thresholds of key counts and key size for load-base-split [#9354](https://github.com/tikv/tikv/pull/9354) + - Add thresholds of key counts and key size for Load Base Split [#9354](https://github.com/tikv/tikv/pull/9354) - Check whether the file exists before data import [#9544](https://github.com/tikv/tikv/pull/9544) - Improve Fast Tune panels [#9180](https://github.com/tikv/tikv/pull/9180) + PD - - Supports multiple clusters in Grafana dashboards [#3398](https://github.com/pingcap/pd/pull/3398) + - Support multiple clusters in Grafana dashboards [#3398](https://github.com/pingcap/pd/pull/3398) + TiFlash - - Optimize the performance of the `date_format` function in TiFlash + - Optimize the performance of the `date_format` function - Optimize the memory consumption of handling ingest SST + Tools + TiCDC - - Add the version information in the `capture` metadata and add the CLI version of a `changefeed` in its metadata [#1342](https://github.com/pingcap/ticdc/pull/1342) + - Add the version information in the `capture` metadata and add the CLI version of a `changefeed` in the `changefeed` metadata [#1342](https://github.com/pingcap/ticdc/pull/1342) + TiDB Lightning - - Create tables in parallel to improve the import performance [#502](https://github.com/pingcap/tidb-lightning/pull/502) - - Skip splitting Regions to improve the import performance if the engine's total size is smaller than the Region size [#524](https://github.com/pingcap/tidb-lightning/pull/524) - - Add the import progress bar and optimize the accuracy of restore progress [#506](https://github.com/pingcap/tidb-lightning/pull/506) + - Create tables in parallel to improve import performance [#502](https://github.com/pingcap/tidb-lightning/pull/502) + - Skip splitting Regions to improve import performance if the engine's total size is smaller than the Region size [#524](https://github.com/pingcap/tidb-lightning/pull/524) + - Add a import progress bar and optimize the accuracy of restore progress [#506](https://github.com/pingcap/tidb-lightning/pull/506) ## Bug Fixes @@ -71,11 +71,11 @@ TiDB version: 4.0.11 - Fix the issue of abnormal `unicode_ci` constant propagation [#22614](https://github.com/pingcap/tidb/pull/22614) - Fix the issue that might causes wrong collation and coercibility [#22602](https://github.com/pingcap/tidb/pull/22602) - Fix the issue that might cause wrong collation results [#22599](https://github.com/pingcap/tidb/pull/22599) - - Fix the issue of constant substitution between collations [#22582](https://github.com/pingcap/tidb/pull/22582) - - Fix a bug that the `like` function might return the wrong result when using collation [#22531](https://github.com/pingcap/tidb/pull/22531) - - Fix the error of inferring the `duration` type in `least` and `greatest` functions [#22580](https://github.com/pingcap/tidb/pull/22580) + - Fix the issue of constant substitution for different collations [#22582](https://github.com/pingcap/tidb/pull/22582) + - Fix a bug that the `like` function might return wrong result when using collation [#22531](https://github.com/pingcap/tidb/pull/22531) + - Fix the issue of incorrect `duration` type inference in `least` and `greatest` functions [#22580](https://github.com/pingcap/tidb/pull/22580) - Fix a bug that occurs when the `like` function handles a single character wildcard (`_`) followed by a multiple character wildcard (`%`) [#22575](https://github.com/pingcap/tidb/pull/22575) - - Fix the error of type inference when comparing TiDB's built-in functions (least and greatest) [#22562](https://github.com/pingcap/tidb/pull/22562) + - Fix the error of type inference when comparing TiDB's built-in functions (`least` and `greatest`) [#22562](https://github.com/pingcap/tidb/pull/22562) - Fix a bug that makes the `like` function get the wrong result if the pattern string is a unicode string [#22529](https://github.com/pingcap/tidb/pull/22529) - Fix a bug that the point get query does not get the snapshot data when the `@@tidb_snapshot` variable is set [#22527](https://github.com/pingcap/tidb/pull/22527) - Fix the potential panic that occurs when generating hints from joins [#22518](https://github.com/pingcap/tidb/pull/22518) @@ -84,15 +84,15 @@ TiDB version: 4.0.11 - Fix a bug that the cached plan is incorrectly used [#22353](https://github.com/pingcap/tidb/pull/22353) - Fix the runtime panic in the `WEIGHT_STRING` function when the length of the binary/char string is too large [#22332](https://github.com/pingcap/tidb/pull/22332) - Fix the issue that the generated column is incorrectly used when argument numbers are invalid [#22174](https://github.com/pingcap/tidb/pull/22174) - - Show the process information when building the execution plan [#22148](https://github.com/pingcap/tidb/pull/22148) + - Correctly set the process information before building the execution plan [#22148](https://github.com/pingcap/tidb/pull/22148) - Fix the issue of inaccurate runtime statistics of `IndexLookUp` [#22136](https://github.com/pingcap/tidb/pull/22136) - - Add cache for the memory usage information when the cluster is deployed in container [#22116](https://github.com/pingcap/tidb/pull/22116) + - Add cache for the memory usage information when the cluster is deployed in a container [#22116](https://github.com/pingcap/tidb/pull/22116) - Fix the issue that the execution plan is incorrectly decoded [#22022](https://github.com/pingcap/tidb/pull/22022) - Report errors for using invalid window specifications [#21976](https://github.com/pingcap/tidb/pull/21976) - Throw errors when the `PREPARE` statement is nested with `EXECUTE`, `DEALLOCATE` or `PREPARE` [#21972](https://github.com/pingcap/tidb/pull/21972) - Fix the issue that no error is reported when the `INSERT IGNORE` statement is used on a non-existing partition [#21971](https://github.com/pingcap/tidb/pull/21971) - - Unify the encoding for `EXPLAIN` results and slow log [#21964](https://github.com/pingcap/tidb/pull/21964) - - Fix the issue of unknown column in join when using the aggregation function [#21957](https://github.com/pingcap/tidb/pull/21957) + - Unify the encoding of `EXPLAIN` results and slow log [#21964](https://github.com/pingcap/tidb/pull/21964) + - Fix the issue of unknown column in join when using the aggregate operator [#21957](https://github.com/pingcap/tidb/pull/21957) - Fix the wrong type inference in the `ceiling` function [#21936](https://github.com/pingcap/tidb/pull/21936) - Fix the issue that the `Double` type column ignores its decimal [#21916](https://github.com/pingcap/tidb/pull/21916) - Fix the issue that the correlated aggregation is calculated in subqueries [#21877](https://github.com/pingcap/tidb/pull/21877) @@ -110,17 +110,17 @@ TiDB version: 4.0.11 - Fix the issue that `LEAD` and `LAG`'s default value cannot adapt to the field type [#21665](https://github.com/pingcap/tidb/pull/21665) - Perform a check to ensure that the `LOAD DATA` statement can only load data into base tables [#21638](https://github.com/pingcap/tidb/pull/21638) - Fix the issue that occurs when `addtime` and `subtime` functions handle invalid arguments [#21635](https://github.com/pingcap/tidb/pull/21635) - - Change the round rule for approximate values to "round to nearest even" [#21628](https://github.com/pingcap/tidb/pull/21628) + - Change the round rule for approximate values to "round to the nearest even number" [#21628](https://github.com/pingcap/tidb/pull/21628) - Fix the issue that `WEEK()` does not recognize `@@GLOBAL.default_week_format` until it has been explicitly read [#21623](https://github.com/pingcap/tidb/pull/21623) + TiKV - Fix the issue that TiKV is failed to build with `PROST=1` [#9604](https://github.com/tikv/tikv/pull/9604) - - Fix the unmatched memory information [#9589](https://github.com/tikv/tikv/pull/9589) + - Fix the unmatched memory diagnostics [#9589](https://github.com/tikv/tikv/pull/9589) - Fix the issue that the end key of a partial RawKV-restore range is inclusive [#9583](https://github.com/tikv/tikv/pull/9583) - - Fix the issue that TiKV might panic when loading the old value of a key in a rolled-back transaction during TiCDC's incremental scan [#9569](https://github.com/tikv/tikv/pull/9569) + - Fix the issue that TiKV might panic when loading the old value of a key of a rolled-back transaction during TiCDC's incremental scan [#9569](https://github.com/tikv/tikv/pull/9569) - Fix the configuration glitch of old values when changefeeds with different settings connect to one Region [#9565](https://github.com/tikv/tikv/pull/9565) - - Fix a crash issue that occurs when running a TiKV cluster on a machine with a network interface without the MAC address (introduced in v4.0.9) [#9516](https://github.com/tikv/tikv/pull/9516) + - Fix a crash issue that occurs when running a TiKV cluster on a machine with a network interface that lacks the MAC address (introduced in v4.0.9) [#9516](https://github.com/tikv/tikv/pull/9516) - Fix the issue of TiKV OOM when backing up a huge Region [#9448](https://github.com/tikv/tikv/pull/9448) - Fix the issue that `region-split-check-diff` cannot be customized [#9530](https://github.com/tikv/tikv/pull/9530) - Fix the issue of TiKV panic when the system time goes back [#9542](https://github.com/tikv/tikv/pull/9542) @@ -147,7 +147,7 @@ TiDB version: 4.0.11 - Fix a bug that the TiCDC service might hang when processing a new `changefeed` with invalid the `sort-engine` parameter [#1309](https://github.com/pingcap/ticdc/pull/1309) - Fix the issue of panic that occurs when getting the debugging information on none owner nodes [#1349](https://github.com/pingcap/ticdc/pull/1349) - Fix the issue that the `ticdc_processor_num_of_tables` and `ticdc_processor_table_resolved_ts` metrics are not properly updated when when adding or removing tables [#1351](https://github.com/pingcap/ticdc/pull/1351) - - Fix the issue of potential data loss if a processor crashes when starting up a table [#1363](https://github.com/pingcap/ticdc/pull/1363) + - Fix the issue of potential data loss if a processor crashes when adding a table [#1363](https://github.com/pingcap/ticdc/pull/1363) - Fix a bug that the owner might lead to abnormal TiCDC server exits during table migrations [#1352](https://github.com/pingcap/ticdc/pull/1352) - Fix a bug that TiCDC does not exit in time after the service GC safepoint is lost [#1367](https://github.com/pingcap/ticdc/pull/1367) - Fix a bug that the KV client might skip creating the event feed [#1336](https://github.com/pingcap/ticdc/pull/1336) From 82eaaaff733dc250679dbcace3d697085d29526f Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Mon, 22 Feb 2021 10:14:28 +0800 Subject: [PATCH 10/21] Update releases/release-4.0.11.md --- releases/release-4.0.11.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index c3ef17289ac50..355cedb774953 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -35,7 +35,7 @@ TiDB version: 4.0.11 + TiKV - - Add metrics of server information for DBasS [#9591](https://github.com/tikv/tikv/pull/9591) + - Add metrics of server information for DBaaS [#9591](https://github.com/tikv/tikv/pull/9591) - Support multiple clusters in Grafana dashboards [#9572](https://github.com/tikv/tikv/pull/9572) - Report RocksDB metrics to TiDB [#9316](https://github.com/tikv/tikv/pull/9316) - Record the suspension time for Coprocessor tasks [#9277](https://github.com/tikv/tikv/pull/9277) From 34db05ebab5bf56e59253b213d265e0da5a3dc36 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Mon, 22 Feb 2021 10:14:59 +0800 Subject: [PATCH 11/21] Update releases/release-4.0.11.md --- releases/release-4.0.11.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index 355cedb774953..90d2dba244941 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -4,7 +4,7 @@ title: TiDB 4.0.11 Release Notes # TiDB 4.0.11 Release Notes -Release date: February 4, 2021 +Release date: February , 2021 (TBD) TiDB version: 4.0.11 From f1e6922a13add2457ebd6eda11ac5e7188bbc755 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Wed, 24 Feb 2021 15:40:43 +0800 Subject: [PATCH 12/21] Update releases/release-4.0.11.md Co-authored-by: ruoxi --- releases/release-4.0.11.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index 90d2dba244941..bdd3fa14cc4ae 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -137,6 +137,9 @@ TiDB version: 4.0.11 - Fix a bug that the `min`/`max` result is wrong for decimal types - Fix a bug that TiFlash might crash when reading data [#1358](https://github.com/pingcap/tics/pull/1358) - Fix the issue that some data written after DDL operations might be lost after data compaction [#1350](https://github.com/pingcap/tics/pull/1350) + - Fix the issue that TiFlash incorrectly handles decimal constants in Coprocessor + - Fix the potential crash during the learner read process + - Fix the inconsistent behaviors of division by `0` or `NULL` between TiDB and TiFlash + Tools From f38662c46abf079de399323929450f3cc205417e Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Wed, 24 Feb 2021 15:40:56 +0800 Subject: [PATCH 13/21] Update releases/release-4.0.11.md Co-authored-by: ruoxi --- releases/release-4.0.11.md | 1 + 1 file changed, 1 insertion(+) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index bdd3fa14cc4ae..67bc4881f3270 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -51,6 +51,7 @@ TiDB version: 4.0.11 - Optimize the performance of the `date_format` function - Optimize the memory consumption of handling ingest SST + - Optimize the retrying logic in Batch Coprocessor to reduce the probability of Region error + Tools From f9f8cf6f87477ccbe5c1091626e6f8451154f820 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 26 Feb 2021 10:09:16 +0800 Subject: [PATCH 14/21] update release date --- releases/release-4.0.11.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index 67bc4881f3270..9f4e2c3dcbbcf 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -4,7 +4,7 @@ title: TiDB 4.0.11 Release Notes # TiDB 4.0.11 Release Notes -Release date: February , 2021 (TBD) +Release date: February 26, 2021 TiDB version: 4.0.11 From 90c68627335227f438f8edbd94bb0bfd2f5af7a0 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 26 Feb 2021 15:25:20 +0800 Subject: [PATCH 15/21] remove TiFlash PRs --- releases/release-4.0.11.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index 9f4e2c3dcbbcf..6920cfdf29bbc 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -21,7 +21,7 @@ TiDB version: 4.0.11 + TiFlash - - Add a Coprocessor thread pool to queue Coprocessor requests for execution, which avoids out of memory (OOM) in some cases, and add the `cop_pool_size` and `batch_cop_pool_size` configuration items with the default values of `NumOfPhysicalCores * 2` [#1312](https://github.com/pingcap/tics/pull/1312) + - Add a Coprocessor thread pool to queue Coprocessor requests for execution, which avoids out of memory (OOM) in some cases, and add the `cop_pool_size` and `batch_cop_pool_size` configuration items with the default values of `NumOfPhysicalCores * 2` ## Improvements @@ -136,8 +136,8 @@ TiDB version: 4.0.11 + TiFlash - Fix a bug that the `min`/`max` result is wrong for decimal types - - Fix a bug that TiFlash might crash when reading data [#1358](https://github.com/pingcap/tics/pull/1358) - - Fix the issue that some data written after DDL operations might be lost after data compaction [#1350](https://github.com/pingcap/tics/pull/1350) + - Fix a bug that TiFlash might crash when reading data + - Fix the issue that some data written after DDL operations might be lost after data compaction - Fix the issue that TiFlash incorrectly handles decimal constants in Coprocessor - Fix the potential crash during the learner read process - Fix the inconsistent behaviors of division by `0` or `NULL` between TiDB and TiFlash From e0a53f65af3483e215a74c5b6bac970309725c7e Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 26 Feb 2021 20:15:28 +0800 Subject: [PATCH 16/21] Update releases/release-4.0.11.md Co-authored-by: Grace Cai <79440533+qiancai@users.noreply.github.com> --- releases/release-4.0.11.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index 6920cfdf29bbc..dd31f9fae0f9f 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -165,5 +165,5 @@ TiDB version: 4.0.11 + TiDB Lightning - Fix a bug that `column count mismatch` might be triggered when using the TiDB-backend [#535](https://github.com/pingcap/tidb-lightning/pull/535) - - Fix a bug that TiDB-backend panics if the column counts of the source file and the column counts of the target table mismatch [#528](https://github.com/pingcap/tidb-lightning/pull/528) + - Fix a bug that TiDB-backend panics if the column count of the source file and the column count of the target table mismatch [#528](https://github.com/pingcap/tidb-lightning/pull/528) - Fix a bug that TiKV might unexpectedly panic during TiDB Lightning's data import [#554](https://github.com/pingcap/tidb-lightning/pull/554) From 34686c2fb580e7cbaf5a77afa0ad253ac6cb3c4e Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 26 Feb 2021 20:18:13 +0800 Subject: [PATCH 17/21] address comments from qiancai --- releases/release-4.0.11.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index dd31f9fae0f9f..36d4c0934c075 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -70,13 +70,13 @@ TiDB version: 4.0.11 + TiDB - Fix the issue of abnormal `unicode_ci` constant propagation [#22614](https://github.com/pingcap/tidb/pull/22614) - - Fix the issue that might causes wrong collation and coercibility [#22602](https://github.com/pingcap/tidb/pull/22602) + - Fix the issue that might cause wrong collation and coercibility [#22602](https://github.com/pingcap/tidb/pull/22602) - Fix the issue that might cause wrong collation results [#22599](https://github.com/pingcap/tidb/pull/22599) - Fix the issue of constant substitution for different collations [#22582](https://github.com/pingcap/tidb/pull/22582) - Fix a bug that the `like` function might return wrong result when using collation [#22531](https://github.com/pingcap/tidb/pull/22531) - Fix the issue of incorrect `duration` type inference in `least` and `greatest` functions [#22580](https://github.com/pingcap/tidb/pull/22580) - Fix a bug that occurs when the `like` function handles a single character wildcard (`_`) followed by a multiple character wildcard (`%`) [#22575](https://github.com/pingcap/tidb/pull/22575) - - Fix the error of type inference when comparing TiDB's built-in functions (`least` and `greatest`) [#22562](https://github.com/pingcap/tidb/pull/22562) + - Fix the type inference error of the TiDB's built-in functions (`least` and `greatest`) [#22562](https://github.com/pingcap/tidb/pull/22562) - Fix a bug that makes the `like` function get the wrong result if the pattern string is a unicode string [#22529](https://github.com/pingcap/tidb/pull/22529) - Fix a bug that the point get query does not get the snapshot data when the `@@tidb_snapshot` variable is set [#22527](https://github.com/pingcap/tidb/pull/22527) - Fix the potential panic that occurs when generating hints from joins [#22518](https://github.com/pingcap/tidb/pull/22518) @@ -88,12 +88,12 @@ TiDB version: 4.0.11 - Correctly set the process information before building the execution plan [#22148](https://github.com/pingcap/tidb/pull/22148) - Fix the issue of inaccurate runtime statistics of `IndexLookUp` [#22136](https://github.com/pingcap/tidb/pull/22136) - Add cache for the memory usage information when the cluster is deployed in a container [#22116](https://github.com/pingcap/tidb/pull/22116) - - Fix the issue that the execution plan is incorrectly decoded [#22022](https://github.com/pingcap/tidb/pull/22022) + - Fix the issue of the decoding plan errors [#22022](https://github.com/pingcap/tidb/pull/22022) - Report errors for using invalid window specifications [#21976](https://github.com/pingcap/tidb/pull/21976) - - Throw errors when the `PREPARE` statement is nested with `EXECUTE`, `DEALLOCATE` or `PREPARE` [#21972](https://github.com/pingcap/tidb/pull/21972) + - Report errors when the `PREPARE` statement is nested with `EXECUTE`, `DEALLOCATE` or `PREPARE` [#21972](https://github.com/pingcap/tidb/pull/21972) - Fix the issue that no error is reported when the `INSERT IGNORE` statement is used on a non-existing partition [#21971](https://github.com/pingcap/tidb/pull/21971) - Unify the encoding of `EXPLAIN` results and slow log [#21964](https://github.com/pingcap/tidb/pull/21964) - - Fix the issue of unknown column in join when using the aggregate operator [#21957](https://github.com/pingcap/tidb/pull/21957) + - Fix the issue of unknown columns in join when using the aggregate operator [#21957](https://github.com/pingcap/tidb/pull/21957) - Fix the wrong type inference in the `ceiling` function [#21936](https://github.com/pingcap/tidb/pull/21936) - Fix the issue that the `Double` type column ignores its decimal [#21916](https://github.com/pingcap/tidb/pull/21916) - Fix the issue that the correlated aggregation is calculated in subqueries [#21877](https://github.com/pingcap/tidb/pull/21877) @@ -108,7 +108,7 @@ TiDB version: 4.0.11 - Fix the issue that the `NULL` result returned from JSON search is incompatible with MySQL [#21700](https://github.com/pingcap/tidb/pull/21700) - Fix the issue that occurs when checking the `only_full_group_by` mode using `ORDER BY` and `HAVING` [#21697](https://github.com/pingcap/tidb/pull/21697) - Fix the issue that the units of `Day` and `Time` are incompatible with MySQL [#21676](https://github.com/pingcap/tidb/pull/21676) - - Fix the issue that `LEAD` and `LAG`'s default value cannot adapt to the field type [#21665](https://github.com/pingcap/tidb/pull/21665) + - Fix the issue that `LEAD` and `LAG`'s default values cannot adapt to the field type [#21665](https://github.com/pingcap/tidb/pull/21665) - Perform a check to ensure that the `LOAD DATA` statement can only load data into base tables [#21638](https://github.com/pingcap/tidb/pull/21638) - Fix the issue that occurs when `addtime` and `subtime` functions handle invalid arguments [#21635](https://github.com/pingcap/tidb/pull/21635) - Change the round rule for approximate values to "round to the nearest even number" [#21628](https://github.com/pingcap/tidb/pull/21628) @@ -119,8 +119,8 @@ TiDB version: 4.0.11 - Fix the issue that TiKV is failed to build with `PROST=1` [#9604](https://github.com/tikv/tikv/pull/9604) - Fix the unmatched memory diagnostics [#9589](https://github.com/tikv/tikv/pull/9589) - Fix the issue that the end key of a partial RawKV-restore range is inclusive [#9583](https://github.com/tikv/tikv/pull/9583) - - Fix the issue that TiKV might panic when loading the old value of a key of a rolled-back transaction during TiCDC's incremental scan [#9569](https://github.com/tikv/tikv/pull/9569) - - Fix the configuration glitch of old values when changefeeds with different settings connect to one Region [#9565](https://github.com/tikv/tikv/pull/9565) + - Fix the issue of TiKV panic occurred when loading the old value of a key of a rolled-back transaction during TiCDC's incremental scan [#9569](https://github.com/tikv/tikv/pull/9569) + - Fix the configuration glitch of old values when changefeeds with different connection settings to one Region [#9565](https://github.com/tikv/tikv/pull/9565) - Fix a crash issue that occurs when running a TiKV cluster on a machine with a network interface that lacks the MAC address (introduced in v4.0.9) [#9516](https://github.com/tikv/tikv/pull/9516) - Fix the issue of TiKV OOM when backing up a huge Region [#9448](https://github.com/tikv/tikv/pull/9448) - Fix the issue that `region-split-check-diff` cannot be customized [#9530](https://github.com/tikv/tikv/pull/9530) @@ -135,7 +135,7 @@ TiDB version: 4.0.11 + TiFlash - - Fix a bug that the `min`/`max` result is wrong for decimal types + - Fix a bug that the `min`/`max` result is wrong for the decimal type - Fix a bug that TiFlash might crash when reading data - Fix the issue that some data written after DDL operations might be lost after data compaction - Fix the issue that TiFlash incorrectly handles decimal constants in Coprocessor @@ -147,9 +147,9 @@ TiDB version: 4.0.11 + TiCDC - Fix a bug that the TiCDC service might unexpectedly exit when `ErrTaskStatusNotExists` and the closing of `capture` session occur at the same time [#1240](https://github.com/pingcap/ticdc/pull/1240) - - Fix the old value switch of a `changefeed` might be affected by another `changefeed` [#1347](https://github.com/pingcap/ticdc/pull/1347) - - Fix a bug that the TiCDC service might hang when processing a new `changefeed` with invalid the `sort-engine` parameter [#1309](https://github.com/pingcap/ticdc/pull/1309) - - Fix the issue of panic that occurs when getting the debugging information on none owner nodes [#1349](https://github.com/pingcap/ticdc/pull/1349) + - Fix the old value switch issue that a `changefeed` might be affected by another `changefeed` [#1347](https://github.com/pingcap/ticdc/pull/1347) + - Fix a bug that the TiCDC service might hang when processing a new `changefeed` with the invalid `sort-engine` parameter [#1309](https://github.com/pingcap/ticdc/pull/1309) + - Fix the issue of panic that occurs when getting the debugging information on non-owner nodes [#1349](https://github.com/pingcap/ticdc/pull/1349) - Fix the issue that the `ticdc_processor_num_of_tables` and `ticdc_processor_table_resolved_ts` metrics are not properly updated when when adding or removing tables [#1351](https://github.com/pingcap/ticdc/pull/1351) - Fix the issue of potential data loss if a processor crashes when adding a table [#1363](https://github.com/pingcap/ticdc/pull/1363) - Fix a bug that the owner might lead to abnormal TiCDC server exits during table migrations [#1352](https://github.com/pingcap/ticdc/pull/1352) From e5773b689bd1718a780ab1361218fdc66bec712a Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 26 Feb 2021 20:46:47 +0800 Subject: [PATCH 18/21] update a note --- releases/release-4.0.11.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index 36d4c0934c075..0e2fc7524b291 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -84,7 +84,7 @@ TiDB version: 4.0.11 - Fix the `index out of range` error that occurs when inserting values to the `tidb_rowid` column [#22359](https://github.com/pingcap/tidb/pull/22359) - Fix a bug that the cached plan is incorrectly used [#22353](https://github.com/pingcap/tidb/pull/22353) - Fix the runtime panic in the `WEIGHT_STRING` function when the length of the binary/char string is too large [#22332](https://github.com/pingcap/tidb/pull/22332) - - Fix the issue that the generated column is incorrectly used when argument numbers are invalid [#22174](https://github.com/pingcap/tidb/pull/22174) + - Forbid using the generated column when the number of function parameters is invalid [#22174](https://github.com/pingcap/tidb/pull/22174) - Correctly set the process information before building the execution plan [#22148](https://github.com/pingcap/tidb/pull/22148) - Fix the issue of inaccurate runtime statistics of `IndexLookUp` [#22136](https://github.com/pingcap/tidb/pull/22136) - Add cache for the memory usage information when the cluster is deployed in a container [#22116](https://github.com/pingcap/tidb/pull/22116) From 0b5c0081e1e4cc2da192bcbf3a6b83093106dbac Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 26 Feb 2021 20:52:28 +0800 Subject: [PATCH 19/21] update a note --- releases/release-4.0.11.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index 0e2fc7524b291..654bf9d56c931 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -108,7 +108,7 @@ TiDB version: 4.0.11 - Fix the issue that the `NULL` result returned from JSON search is incompatible with MySQL [#21700](https://github.com/pingcap/tidb/pull/21700) - Fix the issue that occurs when checking the `only_full_group_by` mode using `ORDER BY` and `HAVING` [#21697](https://github.com/pingcap/tidb/pull/21697) - Fix the issue that the units of `Day` and `Time` are incompatible with MySQL [#21676](https://github.com/pingcap/tidb/pull/21676) - - Fix the issue that `LEAD` and `LAG`'s default values cannot adapt to the field type [#21665](https://github.com/pingcap/tidb/pull/21665) + - Fix the issue that the default values of `LEAD` and `LAG` cannot adapt to the field type [#21665](https://github.com/pingcap/tidb/pull/21665) - Perform a check to ensure that the `LOAD DATA` statement can only load data into base tables [#21638](https://github.com/pingcap/tidb/pull/21638) - Fix the issue that occurs when `addtime` and `subtime` functions handle invalid arguments [#21635](https://github.com/pingcap/tidb/pull/21635) - Change the round rule for approximate values to "round to the nearest even number" [#21628](https://github.com/pingcap/tidb/pull/21628) From aa416fb176b2155336a35ca4a3ee20e9384a4f96 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 26 Feb 2021 21:12:15 +0800 Subject: [PATCH 20/21] update a note --- releases/release-4.0.11.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index 654bf9d56c931..bc5ac86a83bd8 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -120,7 +120,7 @@ TiDB version: 4.0.11 - Fix the unmatched memory diagnostics [#9589](https://github.com/tikv/tikv/pull/9589) - Fix the issue that the end key of a partial RawKV-restore range is inclusive [#9583](https://github.com/tikv/tikv/pull/9583) - Fix the issue of TiKV panic occurred when loading the old value of a key of a rolled-back transaction during TiCDC's incremental scan [#9569](https://github.com/tikv/tikv/pull/9569) - - Fix the configuration glitch of old values when changefeeds with different connection settings to one Region [#9565](https://github.com/tikv/tikv/pull/9565) + - Fix the configuration glitch of old values when changefeeds with different settings connect to one Region [#9565](https://github.com/tikv/tikv/pull/9565) - Fix a crash issue that occurs when running a TiKV cluster on a machine with a network interface that lacks the MAC address (introduced in v4.0.9) [#9516](https://github.com/tikv/tikv/pull/9516) - Fix the issue of TiKV OOM when backing up a huge Region [#9448](https://github.com/tikv/tikv/pull/9448) - Fix the issue that `region-split-check-diff` cannot be customized [#9530](https://github.com/tikv/tikv/pull/9530) From 073a586a123bb300e95e7ced0071415e6e7a5430 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 26 Feb 2021 21:16:57 +0800 Subject: [PATCH 21/21] Update releases/release-4.0.11.md Co-authored-by: Grace Cai <79440533+qiancai@users.noreply.github.com> --- releases/release-4.0.11.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-4.0.11.md b/releases/release-4.0.11.md index bc5ac86a83bd8..97f419ab440fa 100644 --- a/releases/release-4.0.11.md +++ b/releases/release-4.0.11.md @@ -119,7 +119,7 @@ TiDB version: 4.0.11 - Fix the issue that TiKV is failed to build with `PROST=1` [#9604](https://github.com/tikv/tikv/pull/9604) - Fix the unmatched memory diagnostics [#9589](https://github.com/tikv/tikv/pull/9589) - Fix the issue that the end key of a partial RawKV-restore range is inclusive [#9583](https://github.com/tikv/tikv/pull/9583) - - Fix the issue of TiKV panic occurred when loading the old value of a key of a rolled-back transaction during TiCDC's incremental scan [#9569](https://github.com/tikv/tikv/pull/9569) + - Fix the issue of TiKV panic that occurs when loading the old value of a key of a rolled-back transaction during TiCDC's incremental scan [#9569](https://github.com/tikv/tikv/pull/9569) - Fix the configuration glitch of old values when changefeeds with different settings connect to one Region [#9565](https://github.com/tikv/tikv/pull/9565) - Fix a crash issue that occurs when running a TiKV cluster on a machine with a network interface that lacks the MAC address (introduced in v4.0.9) [#9516](https://github.com/tikv/tikv/pull/9516) - Fix the issue of TiKV OOM when backing up a huge Region [#9448](https://github.com/tikv/tikv/pull/9448)