From db48661e122441594694126dcb006897f8d11ef7 Mon Sep 17 00:00:00 2001 From: ti-srebot Date: Wed, 13 Jan 2021 12:03:36 +0800 Subject: [PATCH 1/7] update v4.0.10 release notes at 2021-01-13T12:03:35 Signed-off-by: ti-srebot --- releases/4.0.10.md | 64 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 releases/4.0.10.md diff --git a/releases/4.0.10.md b/releases/4.0.10.md new file mode 100644 index 0000000000000..f3d501141f4f7 --- /dev/null +++ b/releases/4.0.10.md @@ -0,0 +1,64 @@ +--- +title: tidb v4.0.10 Release Notes +category: Releases +aliases: ['/docs/dev/releases/v4.0.10/'] +--- + +# tidb v4.0.10 Release Notes + +Release date: January 13, 2021 + +TiDB version: v4.0.10 + +## Bug Fixes + ++ TiDB + + - Fix a concurrency bug that may cause the batch client timeout [#22336](https://github.com/pingcap/tidb/pull/22336) + - Avoid duplicate bindings caused by concurrent baseline capture [#22295](https://github.com/pingcap/tidb/pull/22295) + - Make baseline capture work when log level is 'debug' [#22293](https://github.com/pingcap/tidb/pull/22293) + - Fix gc miss locks when region merged during scanning & resolving locks [#22267](https://github.com/pingcap/tidb/pull/22267) + - Return correct results for user variables of datetime type [#22143](https://github.com/pingcap/tidb/pull/22143) + - Avoid using index merge when there are multiple table filters. [#22124](https://github.com/pingcap/tidb/pull/22124) + - Fixed the issue that using prepare statement to cache execution plan caused tiflash to return `Wrong precision`. [#21960](https://github.com/pingcap/tidb/pull/21960) + - Fix a bug that schema change will lead to incorrectness when forUpdateRead [#21596](https://github.com/pingcap/tidb/pull/21596) + - Fix a bug that doesn't add NoDefaultValueFlag when creating a table [#21474](https://github.com/pingcap/tidb/pull/21474) + - Set dbName for hinted query block table alias [#21380](https://github.com/pingcap/tidb/pull/21380) + - Generate proper hint for IndexHashJoin / IndexMergeJoin` [#21020](https://github.com/pingcap/tidb/pull/21020) + ++ TiFlash + + - Fix the problem that TiFlash fail to start when path_realtime_mode is true [#1322](https://github.com/pingcap/tics/pull/1322) + - Fixed an issue where tables created in the old version of tidb may cause the startup of the new tiflash node to fail. [#1297](https://github.com/pingcap/tics/pull/1297) + +## Others + ++ TiDB + + - Session: fix the duplicate binding case when updating bind info [#22368](https://github.com/pingcap/tidb/pull/22368) + - Session: fix two cases when updating bind info [#22341](https://github.com/pingcap/tidb/pull/22341) + - Make txn entry size limit configurable [#21843](https://github.com/pingcap/tidb/pull/21843) + ++ TiKV + + - Fix wrong mapping between readies and peers by offset [#9409](https://github.com/tikv/tikv/pull/9409) + - Fix some logs not being redact when `security.redact-info-log = true` [#9314](https://github.com/tikv/tikv/pull/9314) + ++ PD + + - Fix the pd client could be blocked in some cases [#3285](https://github.com/pingcap/pd/pull/3285) + - Support configuration `enable-redact-log` to enable log desensitization or not. [#3266](https://github.com/pingcap/pd/pull/3266) + ++ TiFlash + + - Add `security.redact_info_log` config, which redacts user data from logs [#1333](https://github.com/pingcap/tics/pull/1333) + ++ Tools + + - TiCDC + + * Fix a bug that MySQL connection is not recycled when some transactions executed with failure. [#1285](https://github.com/pingcap/ticdc/pull/1285) + * Fixed bug in passing `max-batch-size` to codec. [#1253](https://github.com/pingcap/ticdc/pull/1253) + * Enable Unified Sorter by default. [#1230](https://github.com/pingcap/ticdc/pull/1230) + * Fix a bug that the cdc owner might consume too much memory in the etcd watch client [#1227](https://github.com/pingcap/ticdc/pull/1227) + * Fix a bug that outdated metadata could cause the newly created changefeed abnormal. [#1184](https://github.com/pingcap/ticdc/pull/1184) From 012382f8a66f564553a405fd76a5824ec35f0cbe Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Wed, 13 Jan 2021 12:14:08 +0800 Subject: [PATCH 2/7] add TOC --- TOC.md | 1 + releases/{4.0.10.md => release-4.0.10.md} | 20 ++++++++++++-------- releases/release-notes.md | 1 + 3 files changed, 14 insertions(+), 8 deletions(-) rename releases/{4.0.10.md => release-4.0.10.md} (88%) diff --git a/TOC.md b/TOC.md index 5baba7383a315..60a424ecf05d1 100644 --- a/TOC.md +++ b/TOC.md @@ -517,6 +517,7 @@ + v5.0 + [5.0.0-rc](/releases/release-5.0.0-rc.md) + v4.0 + + [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) + [4.0.7](/releases/release-4.0.7.md) diff --git a/releases/4.0.10.md b/releases/release-4.0.10.md similarity index 88% rename from releases/4.0.10.md rename to releases/release-4.0.10.md index f3d501141f4f7..b2c3c8fc1c3c1 100644 --- a/releases/4.0.10.md +++ b/releases/release-4.0.10.md @@ -1,14 +1,18 @@ --- -title: tidb v4.0.10 Release Notes -category: Releases -aliases: ['/docs/dev/releases/v4.0.10/'] +title: TiDB 4.0.10 Release Notes --- -# tidb v4.0.10 Release Notes +# TiDB 4.0.10 Release Notes -Release date: January 13, 2021 +Release date: January 15, 2021 -TiDB version: v4.0.10 +TiDB version: 4.0.10 + +## Compatibility Changes + +## New Features + +## Improvements ## Bug Fixes @@ -24,14 +28,14 @@ TiDB version: v4.0.10 - Fix a bug that schema change will lead to incorrectness when forUpdateRead [#21596](https://github.com/pingcap/tidb/pull/21596) - Fix a bug that doesn't add NoDefaultValueFlag when creating a table [#21474](https://github.com/pingcap/tidb/pull/21474) - Set dbName for hinted query block table alias [#21380](https://github.com/pingcap/tidb/pull/21380) - - Generate proper hint for IndexHashJoin / IndexMergeJoin` [#21020](https://github.com/pingcap/tidb/pull/21020) + - Generate proper hint for IndexHashJoin / IndexMergeJoin [#21020](https://github.com/pingcap/tidb/pull/21020) + TiFlash - Fix the problem that TiFlash fail to start when path_realtime_mode is true [#1322](https://github.com/pingcap/tics/pull/1322) - Fixed an issue where tables created in the old version of tidb may cause the startup of the new tiflash node to fail. [#1297](https://github.com/pingcap/tics/pull/1297) -## Others +## 未分类 notes。请对以下 Note 进行分类,挪动到上面 Compatibility changes、New features、Improvement 分类下 + TiDB diff --git a/releases/release-notes.md b/releases/release-notes.md index 4703e0a6944a7..052488c90c63a 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.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) - [4.0.7](/releases/release-4.0.7.md) From 4c4dc5cde48882933b22eefd0a1c414434c714e7 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Thu, 14 Jan 2021 10:59:03 +0800 Subject: [PATCH 3/7] add tidb/tikv/pd/tiflash notes --- releases/release-4.0.10.md | 60 ++++++++++++++++++++++---------------- 1 file changed, 35 insertions(+), 25 deletions(-) diff --git a/releases/release-4.0.10.md b/releases/release-4.0.10.md index b2c3c8fc1c3c1..e6363d75bd8cd 100644 --- a/releases/release-4.0.10.md +++ b/releases/release-4.0.10.md @@ -12,8 +12,26 @@ TiDB version: 4.0.10 ## New Features ++ PD + + - Support configuration `enable-redact-log` to enable log desensitization or not [#3266](https://github.com/pingcap/pd/pull/3266) + ++ TiFlash + + - Add `security.redact_info_log` config, which can redact user data from logs + - Support lossless schema change for enum type + ## Improvements ++ TiDB + + - Make txn entry size limit configurable [#21843](https://github.com/pingcap/tidb/pull/21843) + ++ PD + + - Optimize the store state filter metrics [#3100](https://github.com/tikv/pd/pull/3100) + - Upgrade go.etcd.io/bbolt to v1.3.5 [#3331](https://github.com/tikv/pd/pull/3331) + ## Bug Fixes + TiDB @@ -21,48 +39,40 @@ TiDB version: 4.0.10 - Fix a concurrency bug that may cause the batch client timeout [#22336](https://github.com/pingcap/tidb/pull/22336) - Avoid duplicate bindings caused by concurrent baseline capture [#22295](https://github.com/pingcap/tidb/pull/22295) - Make baseline capture work when log level is 'debug' [#22293](https://github.com/pingcap/tidb/pull/22293) - - Fix gc miss locks when region merged during scanning & resolving locks [#22267](https://github.com/pingcap/tidb/pull/22267) + - Correctly GC locks when region merge happens during scanning & resolving locks [#22267](https://github.com/pingcap/tidb/pull/22267) - Return correct results for user variables of datetime type [#22143](https://github.com/pingcap/tidb/pull/22143) - Avoid using index merge when there are multiple table filters. [#22124](https://github.com/pingcap/tidb/pull/22124) - - Fixed the issue that using prepare statement to cache execution plan caused tiflash to return `Wrong precision`. [#21960](https://github.com/pingcap/tidb/pull/21960) - - Fix a bug that schema change will lead to incorrectness when forUpdateRead [#21596](https://github.com/pingcap/tidb/pull/21596) - - Fix a bug that doesn't add NoDefaultValueFlag when creating a table [#21474](https://github.com/pingcap/tidb/pull/21474) - - Set dbName for hinted query block table alias [#21380](https://github.com/pingcap/tidb/pull/21380) + - Fix the `wrong precision` problem in TiFlash caused by prepare plan cache. [#21960](https://github.com/pingcap/tidb/pull/21960) + - Fix the bug that schema change will lead to incorrect results. [#21596](https://github.com/pingcap/tidb/pull/21596) + - Avoid unnecessary column flag changes incurred by `ALTER TABLE`. [#21474](https://github.com/pingcap/tidb/pull/21474) + - Set database name for table aliases of query blocks used in optimizer hint. [#21380](https://github.com/pingcap/tidb/pull/21380) - Generate proper hint for IndexHashJoin / IndexMergeJoin [#21020](https://github.com/pingcap/tidb/pull/21020) -+ TiFlash - - - Fix the problem that TiFlash fail to start when path_realtime_mode is true [#1322](https://github.com/pingcap/tics/pull/1322) - - Fixed an issue where tables created in the old version of tidb may cause the startup of the new tiflash node to fail. [#1297](https://github.com/pingcap/tics/pull/1297) - -## 未分类 notes。请对以下 Note 进行分类,挪动到上面 Compatibility changes、New features、Improvement 分类下 - -+ TiDB - - - Session: fix the duplicate binding case when updating bind info [#22368](https://github.com/pingcap/tidb/pull/22368) - - Session: fix two cases when updating bind info [#22341](https://github.com/pingcap/tidb/pull/22341) - - Make txn entry size limit configurable [#21843](https://github.com/pingcap/tidb/pull/21843) - + TiKV - - Fix wrong mapping between readies and peers by offset [#9409](https://github.com/tikv/tikv/pull/9409) - - Fix some logs not being redact when `security.redact-info-log = true` [#9314](https://github.com/tikv/tikv/pull/9314) + - Fix wrong mapping between ready and peer [#9409](https://github.com/tikv/tikv/pull/9409) + - Fix some logs are not redacted when `security.redact-info-log` is on [#9314](https://github.com/tikv/tikv/pull/9314) + PD + - Fix the id allocation is not monotonic [#3308](https://github.com/tikv/pd/pull/3308) [#3323](https://github.com/tikv/pd/pull/3323) - Fix the pd client could be blocked in some cases [#3285](https://github.com/pingcap/pd/pull/3285) - - Support configuration `enable-redact-log` to enable log desensitization or not. [#3266](https://github.com/pingcap/pd/pull/3266) + TiFlash - - Add `security.redact_info_log` config, which redacts user data from logs [#1333](https://github.com/pingcap/tics/pull/1333) + - Fixed an issue that TiFlash can't start because TiFlash failed to process the schema of TiDB with an old version + - Fixed an issue where TiFlash can't start due to incorrect handling of cpu_time on the RedHat system + - Fixed the issue that TiFlash fails to start when path_realtime_mode is true + - Fixed the issue of incorrect results when calling the `substr` function with three parameters + +## 未分类 notes。请对以下 Note 进行分类,挪动到上面 Compatibility changes、New features、Improvement 分类下 + Tools - TiCDC - * Fix a bug that MySQL connection is not recycled when some transactions executed with failure. [#1285](https://github.com/pingcap/ticdc/pull/1285) - * Fixed bug in passing `max-batch-size` to codec. [#1253](https://github.com/pingcap/ticdc/pull/1253) - * Enable Unified Sorter by default. [#1230](https://github.com/pingcap/ticdc/pull/1230) + * Fix a bug that MySQL connection is not recycled when some transactions executed with failure [#1285](https://github.com/pingcap/ticdc/pull/1285) + * Fixed bug in passing `max-batch-size` to codec [#1253](https://github.com/pingcap/ticdc/pull/1253) + * Enable Unified Sorter by default [#1230](https://github.com/pingcap/ticdc/pull/1230) * Fix a bug that the cdc owner might consume too much memory in the etcd watch client [#1227](https://github.com/pingcap/ticdc/pull/1227) * Fix a bug that outdated metadata could cause the newly created changefeed abnormal. [#1184](https://github.com/pingcap/ticdc/pull/1184) From 10317600a3c76ac39b1b6831ed2fda3e7013c245 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Thu, 14 Jan 2021 12:58:46 +0800 Subject: [PATCH 4/7] Apply suggestions from code review Co-authored-by: Zhi Qi <30543181+LittleFall@users.noreply.github.com> --- releases/release-4.0.10.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/release-4.0.10.md b/releases/release-4.0.10.md index e6363d75bd8cd..e80a79c9c1267 100644 --- a/releases/release-4.0.10.md +++ b/releases/release-4.0.10.md @@ -19,7 +19,6 @@ TiDB version: 4.0.10 + TiFlash - Add `security.redact_info_log` config, which can redact user data from logs - - Support lossless schema change for enum type ## Improvements @@ -64,7 +63,8 @@ TiDB version: 4.0.10 - Fixed an issue where TiFlash can't start due to incorrect handling of cpu_time on the RedHat system - Fixed the issue that TiFlash fails to start when path_realtime_mode is true - Fixed the issue of incorrect results when calling the `substr` function with three parameters - + - Fixed the issue that TiFlash does not support Enum type change even if the change is lossless + ## 未分类 notes。请对以下 Note 进行分类,挪动到上面 Compatibility changes、New features、Improvement 分类下 + Tools From b5b039dda330a56326eb13a48f8e8b6a7d1f7b72 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Thu, 14 Jan 2021 17:30:07 +0800 Subject: [PATCH 5/7] add tools notes --- releases/release-4.0.10.md | 98 +++++++++++++++++++++++++------------- 1 file changed, 65 insertions(+), 33 deletions(-) diff --git a/releases/release-4.0.10.md b/releases/release-4.0.10.md index e80a79c9c1267..da9d6a61c884b 100644 --- a/releases/release-4.0.10.md +++ b/releases/release-4.0.10.md @@ -8,71 +8,103 @@ Release date: January 15, 2021 TiDB version: 4.0.10 -## Compatibility Changes - ## New Features + PD - - Support configuration `enable-redact-log` to enable log desensitization or not [#3266](https://github.com/pingcap/pd/pull/3266) + - Add the `enable-redact-log` configuration item to enable log redaction [#3266](https://github.com/pingcap/pd/pull/3266) + TiFlash - - Add `security.redact_info_log` config, which can redact user data from logs + - Add the `security.redact_info_log` configuration item to redact user data from logs ## Improvements + TiDB - - Make txn entry size limit configurable [#21843](https://github.com/pingcap/tidb/pull/21843) + - Make the size limit of transaction entries configurable [#21843](https://github.com/pingcap/tidb/pull/21843) + PD - Optimize the store state filter metrics [#3100](https://github.com/tikv/pd/pull/3100) - - Upgrade go.etcd.io/bbolt to v1.3.5 [#3331](https://github.com/tikv/pd/pull/3331) + - Upgrade `go.etcd.io/bbolt` to v1.3.5 [#3331](https://github.com/tikv/pd/pull/3331) + ++ Tools + + + TiCDC + + - Enable the old value feature if the protocol is `maxwell` [#1144](https://github.com/pingcap/ticdc/pull/1144) + - Enable the unified sorter feature by default [#1230](https://github.com/pingcap/ticdc/pull/1230) + + + Dumpling + + - Support checking unrecognized arguments and printing the current progress during dumping [#228](https://github.com/pingcap/dumpling/pull/228) + + + TiDB Lightning + + - Support retrying S3 reads on error [#533](https://github.com/pingcap/tidb-lightning/pull/533) ## Bug Fixes + TiDB - - Fix a concurrency bug that may cause the batch client timeout [#22336](https://github.com/pingcap/tidb/pull/22336) + - Fix a concurrency bug that might cause the batch client timeout [#22336](https://github.com/pingcap/tidb/pull/22336) - Avoid duplicate bindings caused by concurrent baseline capture [#22295](https://github.com/pingcap/tidb/pull/22295) - - Make baseline capture work when log level is 'debug' [#22293](https://github.com/pingcap/tidb/pull/22293) - - Correctly GC locks when region merge happens during scanning & resolving locks [#22267](https://github.com/pingcap/tidb/pull/22267) - - Return correct results for user variables of datetime type [#22143](https://github.com/pingcap/tidb/pull/22143) - - Avoid using index merge when there are multiple table filters. [#22124](https://github.com/pingcap/tidb/pull/22124) - - Fix the `wrong precision` problem in TiFlash caused by prepare plan cache. [#21960](https://github.com/pingcap/tidb/pull/21960) - - Fix the bug that schema change will lead to incorrect results. [#21596](https://github.com/pingcap/tidb/pull/21596) - - Avoid unnecessary column flag changes incurred by `ALTER TABLE`. [#21474](https://github.com/pingcap/tidb/pull/21474) - - Set database name for table aliases of query blocks used in optimizer hint. [#21380](https://github.com/pingcap/tidb/pull/21380) - - Generate proper hint for IndexHashJoin / IndexMergeJoin [#21020](https://github.com/pingcap/tidb/pull/21020) + - Make the baseline capture work when the log level is `'debug'` [#22293](https://github.com/pingcap/tidb/pull/22293) + - Correct GC locks when Region merge occurs during scanning and resolving locks [#22267](https://github.com/pingcap/tidb/pull/22267) + - Return correct results for user variables of the `datetime` type [#22143](https://github.com/pingcap/tidb/pull/22143) + - Avoid using index merge when there are multiple table filters [#22124](https://github.com/pingcap/tidb/pull/22124) + - Fix the `wrong precision` issue in TiFlash caused by the prepare plan cache [#21960](https://github.com/pingcap/tidb/pull/21960) + - Fix a bug that the schema change causes incorrect results [#21596](https://github.com/pingcap/tidb/pull/21596) + - Avoid unnecessary column flag changes incurred by `ALTER TABLE` [#21474](https://github.com/pingcap/tidb/pull/21474) + - Set the database name for table aliases of query blocks used in optimizer hints [#21380](https://github.com/pingcap/tidb/pull/21380) + - Generate the proper hint for `IndexHashJoin`/`IndexMergeJoin` [#21020](https://github.com/pingcap/tidb/pull/21020) + TiKV - - Fix wrong mapping between ready and peer [#9409](https://github.com/tikv/tikv/pull/9409) - - Fix some logs are not redacted when `security.redact-info-log` is on [#9314](https://github.com/tikv/tikv/pull/9314) + - Fix the wrong mapping between ready and peer [#9409](https://github.com/tikv/tikv/pull/9409) + - Fix the issue that some logs are not redacted when `security.redact-info-log` is set to `true` [#9314](https://github.com/tikv/tikv/pull/9314) + PD - - Fix the id allocation is not monotonic [#3308](https://github.com/tikv/pd/pull/3308) [#3323](https://github.com/tikv/pd/pull/3323) - - Fix the pd client could be blocked in some cases [#3285](https://github.com/pingcap/pd/pull/3285) + - Fix the issue that the ID allocation is not monotonic [#3308](https://github.com/tikv/pd/pull/3308) [#3323](https://github.com/tikv/pd/pull/3323) + - Fix the issue that the PD client might be blocked in some cases [#3285](https://github.com/pingcap/pd/pull/3285) + TiFlash - - Fixed an issue that TiFlash can't start because TiFlash failed to process the schema of TiDB with an old version - - Fixed an issue where TiFlash can't start due to incorrect handling of cpu_time on the RedHat system - - Fixed the issue that TiFlash fails to start when path_realtime_mode is true - - Fixed the issue of incorrect results when calling the `substr` function with three parameters - - Fixed the issue that TiFlash does not support Enum type change even if the change is lossless - -## 未分类 notes。请对以下 Note 进行分类,挪动到上面 Compatibility changes、New features、Improvement 分类下 + - Fix the issue that TiFlash fails to start because TiFlash fails to process the TiDB schema with an old version + - Fix the issue that TiFlash fails to start due to incorrect handling of `cpu_time` on the RedHat system + - Fix the issue that TiFlash fails to start when `path_realtime_mode` is `true` + - Fix an issue of incorrect results when calling the `substr` function with three parameters + - Fix the issue that TiFlash does not support changing the `Enum` type even if the change is lossless + Tools - - TiCDC + + TiCDC + + - Fix the maxwell issues, including the `base64` data output and output TSO to unix timestamp [#1173](https://github.com/pingcap/ticdc/pull/1173) + - Fix a bug that outdated metadata might cause the newly created changefeed abnormal [#1184](https://github.com/pingcap/ticdc/pull/1184) + - Fix create receiver on closed notifier [#1199](https://github.com/pingcap/ticdc/pull/1199) + - Fix memory accumulated when owner consume etcd update slow [#1227](https://github.com/pingcap/ticdc/pull/1227) + - Fix the issue that `max-batch-size` does not take effect [#1253](https://github.com/pingcap/ticdc/pull/1253) + - Fix cleanup stale tasks before capture information is constructed [#1280](https://github.com/pingcap/ticdc/pull/1280) + - Roll back transactions to recycle db conn for MySQL sink [#1285](https://github.com/pingcap/ticdc/pull/1285) + + + Dumpling + + - Do not set `tidb_mem_quota_query` when it is not specified to avoid TiDB OOM [#233](https://github.com/pingcap/dumpling/pull/233) + + + Backup & Restore (BR) + + - Fix the issue that BR v4.0.9 cannot restore the GCS backup files of v4.0.8 [#688](https://github.com/pingcap/br/pull/688) + - Fix the issue that BR panics when the GCS storage URL has no prefix [#673](https://github.com/pingcap/br/pull/673) + + + TiDB Binlog + + - Fix the issue that when the amend transaction feature is enabled, Drainer chooses the wrong schema version of DDL to generate the wrong SQL statement [#1033](https://github.com/pingcap/tidb-binlog/pull/1033) + + + TiDB Lightning - * Fix a bug that MySQL connection is not recycled when some transactions executed with failure [#1285](https://github.com/pingcap/ticdc/pull/1285) - * Fixed bug in passing `max-batch-size` to codec [#1253](https://github.com/pingcap/ticdc/pull/1253) - * Enable Unified Sorter by default [#1230](https://github.com/pingcap/ticdc/pull/1230) - * Fix a bug that the cdc owner might consume too much memory in the etcd watch client [#1227](https://github.com/pingcap/ticdc/pull/1227) - * Fix a bug that outdated metadata could cause the newly created changefeed abnormal. [#1184](https://github.com/pingcap/ticdc/pull/1184) + - Fix a bug that the retry scan region key is not encoded, which causes the retried Region is not split [#531](https://github.com/pingcap/tidb-lightning/pull/531) + - Fix a bug that lost create table error during multiple tables created [#530](https://github.com/pingcap/tidb-lightning/pull/530) + - Fix the bug that 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) From 8a4e8ef19d538d6f34b067ed50f049349a90c276 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Thu, 14 Jan 2021 17:41:37 +0800 Subject: [PATCH 6/7] Update releases/release-4.0.10.md Co-authored-by: Neil Shen --- releases/release-4.0.10.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/releases/release-4.0.10.md b/releases/release-4.0.10.md index da9d6a61c884b..da5d91fc02992 100644 --- a/releases/release-4.0.10.md +++ b/releases/release-4.0.10.md @@ -98,6 +98,8 @@ TiDB version: 4.0.10 - Fix the issue that BR v4.0.9 cannot restore the GCS backup files of v4.0.8 [#688](https://github.com/pingcap/br/pull/688) - Fix the issue that BR panics when the GCS storage URL has no prefix [#673](https://github.com/pingcap/br/pull/673) + - Disable backup stats by default to avoid BR OOM [#693](https://github.com/pingcap/br/pull/693) + + TiDB Binlog From ad6253517517afb3d04b7c5e6a936e0e6f153eff Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 15 Jan 2021 11:57:21 +0800 Subject: [PATCH 7/7] refine language --- releases/release-4.0.10.md | 59 +++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/releases/release-4.0.10.md b/releases/release-4.0.10.md index da5d91fc02992..443b0a9ef8352 100644 --- a/releases/release-4.0.10.md +++ b/releases/release-4.0.10.md @@ -12,7 +12,7 @@ TiDB version: 4.0.10 + PD - - Add the `enable-redact-log` configuration item to enable log redaction [#3266](https://github.com/pingcap/pd/pull/3266) + - Add the `enable-redact-log` configuration item to redact user data from logs [#3266](https://github.com/pingcap/pd/pull/3266) + TiFlash @@ -22,18 +22,18 @@ TiDB version: 4.0.10 + TiDB - - Make the size limit of transaction entries configurable [#21843](https://github.com/pingcap/tidb/pull/21843) + - Make the size limit of a key-value entry in transaction configurable using `txn-entry-size-limit` [#21843](https://github.com/pingcap/tidb/pull/21843) + PD - - Optimize the store state filter metrics [#3100](https://github.com/tikv/pd/pull/3100) - - Upgrade `go.etcd.io/bbolt` to v1.3.5 [#3331](https://github.com/tikv/pd/pull/3331) + - Optimize the `store-state-filter` metrics to show more information [#3100](https://github.com/tikv/pd/pull/3100) + - Upgrade the `go.etcd.io/bbolt` dependency to v1.3.5 [#3331](https://github.com/tikv/pd/pull/3331) + Tools + TiCDC - - Enable the old value feature if the protocol is `maxwell` [#1144](https://github.com/pingcap/ticdc/pull/1144) + - Enable the old value feature for the `maxwell` protocol [#1144](https://github.com/pingcap/ticdc/pull/1144) - Enable the unified sorter feature by default [#1230](https://github.com/pingcap/ticdc/pull/1230) + Dumpling @@ -42,23 +42,23 @@ TiDB version: 4.0.10 + TiDB Lightning - - Support retrying S3 reads on error [#533](https://github.com/pingcap/tidb-lightning/pull/533) + - Support retrying the error that occurs when reading from S3 [#533](https://github.com/pingcap/tidb-lightning/pull/533) ## Bug Fixes + TiDB - Fix a concurrency bug that might cause the batch client timeout [#22336](https://github.com/pingcap/tidb/pull/22336) - - Avoid duplicate bindings caused by concurrent baseline capture [#22295](https://github.com/pingcap/tidb/pull/22295) - - Make the baseline capture work when the log level is `'debug'` [#22293](https://github.com/pingcap/tidb/pull/22293) - - Correct GC locks when Region merge occurs during scanning and resolving locks [#22267](https://github.com/pingcap/tidb/pull/22267) - - Return correct results for user variables of the `datetime` type [#22143](https://github.com/pingcap/tidb/pull/22143) - - Avoid using index merge when there are multiple table filters [#22124](https://github.com/pingcap/tidb/pull/22124) - - Fix the `wrong precision` issue in TiFlash caused by the prepare plan cache [#21960](https://github.com/pingcap/tidb/pull/21960) - - Fix a bug that the schema change causes incorrect results [#21596](https://github.com/pingcap/tidb/pull/21596) - - Avoid unnecessary column flag changes incurred by `ALTER TABLE` [#21474](https://github.com/pingcap/tidb/pull/21474) + - Fix the issue of duplicate bindings caused by concurrent baseline capture [#22295](https://github.com/pingcap/tidb/pull/22295) + - Make the baseline capture bound to the SQL statement work when the log level is `'debug'` [#22293](https://github.com/pingcap/tidb/pull/22293) + - Correctly release GC locks when Region merge occurs [#22267](https://github.com/pingcap/tidb/pull/22267) + - Return correct values for user variables of the `datetime` type [#22143](https://github.com/pingcap/tidb/pull/22143) + - Fix the issue of using index merge when there are multiple table filters [#22124](https://github.com/pingcap/tidb/pull/22124) + - Fix the `wrong precision` issue in TiFlash caused by the `prepare` plan cache [#21960](https://github.com/pingcap/tidb/pull/21960) + - Fix the issue of incorrect results caused by schema change [#21596](https://github.com/pingcap/tidb/pull/21596) + - Avoid unnecessary column flag changes in `ALTER TABLE` [#21474](https://github.com/pingcap/tidb/pull/21474) - Set the database name for table aliases of query blocks used in optimizer hints [#21380](https://github.com/pingcap/tidb/pull/21380) - - Generate the proper hint for `IndexHashJoin`/`IndexMergeJoin` [#21020](https://github.com/pingcap/tidb/pull/21020) + - Generate the proper optimizer hint for `IndexHashJoin`and `IndexMergeJoin` [#21020](https://github.com/pingcap/tidb/pull/21020) + TiKV @@ -72,9 +72,9 @@ TiDB version: 4.0.10 + TiFlash - - Fix the issue that TiFlash fails to start because TiFlash fails to process the TiDB schema with an old version + - Fix the issue that TiFlash fails to start because TiFlash fails to process the TiDB schema of an old version - Fix the issue that TiFlash fails to start due to incorrect handling of `cpu_time` on the RedHat system - - Fix the issue that TiFlash fails to start when `path_realtime_mode` is `true` + - Fix the issue that TiFlash fails to start when `path_realtime_mode` is set to `true` - Fix an issue of incorrect results when calling the `substr` function with three parameters - Fix the issue that TiFlash does not support changing the `Enum` type even if the change is lossless @@ -82,31 +82,30 @@ TiDB version: 4.0.10 + TiCDC - - Fix the maxwell issues, including the `base64` data output and output TSO to unix timestamp [#1173](https://github.com/pingcap/ticdc/pull/1173) + - Fix the `maxwell` protocol issues, including the issue of `base64` data output and the issue of outputting TSO to unix timestamp [#1173](https://github.com/pingcap/ticdc/pull/1173) - Fix a bug that outdated metadata might cause the newly created changefeed abnormal [#1184](https://github.com/pingcap/ticdc/pull/1184) - - Fix create receiver on closed notifier [#1199](https://github.com/pingcap/ticdc/pull/1199) - - Fix memory accumulated when owner consume etcd update slow [#1227](https://github.com/pingcap/ticdc/pull/1227) + - Fix the issue of creating the receiver on the closed notifier [#1199](https://github.com/pingcap/ticdc/pull/1199) + - Fix a bug that the TiCDC owner might consume too much memory in the etcd watch client [#1227](https://github.com/pingcap/ticdc/pull/1227) - Fix the issue that `max-batch-size` does not take effect [#1253](https://github.com/pingcap/ticdc/pull/1253) - - Fix cleanup stale tasks before capture information is constructed [#1280](https://github.com/pingcap/ticdc/pull/1280) - - Roll back transactions to recycle db conn for MySQL sink [#1285](https://github.com/pingcap/ticdc/pull/1285) + - Fix the issue of cleaning up stale tasks before the capture information is constructed [#1280](https://github.com/pingcap/ticdc/pull/1280) + - Fix the issue that the recycling of db conn is block because `rollback` is not called in MySQL sink [#1285](https://github.com/pingcap/ticdc/pull/1285) + Dumpling - - Do not set `tidb_mem_quota_query` when it is not specified to avoid TiDB OOM [#233](https://github.com/pingcap/dumpling/pull/233) + - Avoid TiDB out of memory (OOM) by setting the default behavior of `tidb_mem_quota_query` [#233](https://github.com/pingcap/dumpling/pull/233) + Backup & Restore (BR) - - Fix the issue that BR v4.0.9 cannot restore the GCS backup files of v4.0.8 [#688](https://github.com/pingcap/br/pull/688) + - Fix the issue that BR v4.0.9 cannot restore the files backed up using BR v4.0.8 on GCS [#688](https://github.com/pingcap/br/pull/688) - Fix the issue that BR panics when the GCS storage URL has no prefix [#673](https://github.com/pingcap/br/pull/673) - - Disable backup stats by default to avoid BR OOM [#693](https://github.com/pingcap/br/pull/693) - + - Disable backup statistics by default to avoid BR OOM [#693](https://github.com/pingcap/br/pull/693) + TiDB Binlog - - Fix the issue that when the amend transaction feature is enabled, Drainer chooses the wrong schema version of DDL to generate the wrong SQL statement [#1033](https://github.com/pingcap/tidb-binlog/pull/1033) + - Fix the issue that when the `AMEND TRANSACTION` feature is enabled, Drainer might choose the incorrect schema version to generate SQL statements [#1033](https://github.com/pingcap/tidb-binlog/pull/1033) + TiDB Lightning - - Fix a bug that the retry scan region key is not encoded, which causes the retried Region is not split [#531](https://github.com/pingcap/tidb-lightning/pull/531) - - Fix a bug that lost create table error during multiple tables created [#530](https://github.com/pingcap/tidb-lightning/pull/530) - - Fix the bug that 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 a bug that the Region is not split because the Region key is incorrectly encoded [#531](https://github.com/pingcap/tidb-lightning/pull/531) + - Fix the issue that the failure of `CREATE TABLE` might be lost when multiple tables are created [#530](https://github.com/pingcap/tidb-lightning/pull/530) + - Fix the issue of `column count mismatch` when using the TiDB-backend [#535](https://github.com/pingcap/tidb-lightning/pull/535)