From 0c98ef4fa889de28cc7b467dd8363474a2d9bd79 Mon Sep 17 00:00:00 2001 From: Martin Liu <43315484+MartinNose@users.noreply.github.com> Date: Thu, 22 Jul 2021 18:29:14 +0800 Subject: [PATCH] releases: add TiDB 4.0.14-18-29-11 release notes * releases: add TiDB 4.0.14-18-29-11 release notes * Update releases/release-4.0.14-18-29-11.md --- releases/release-4.0.14-18-29-11.md | 138 ++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 releases/release-4.0.14-18-29-11.md diff --git a/releases/release-4.0.14-18-29-11.md b/releases/release-4.0.14-18-29-11.md new file mode 100644 index 0000000000000..c7966d103955e --- /dev/null +++ b/releases/release-4.0.14-18-29-11.md @@ -0,0 +1,138 @@ +--- +title: TiDB 4.0.14 Release Notes +category: Releases +--- + + + +# TiDB 4.0.14 Release Notes + +Release Date: July 22, 2021 + +TiDB version: 4.0.14 + +## __unsorted + ++ PingCAP/TiDB + + - fix range building for binary literal [#26455](https://github.com/pingcap/tidb/pull/26455) + - Fix copt-cache metrics, it will display the number of hits/miss/evict on Grafana. [#26342](https://github.com/pingcap/tidb/pull/26342) + - Change the lock record into put record for the index keys using point/batch point get for update read. [#26223](https://github.com/pingcap/tidb/pull/26223) + - load: fix load data with non-utf8 can succeed [#26142](https://github.com/pingcap/tidb/pull/26142) + - TiDB now supports the mysql system variable init_connect and associated functionality. [#26031](https://github.com/pingcap/tidb/pull/26031) + - planner: support stable result mode [#26013](https://github.com/pingcap/tidb/pull/26013) + - planner: support stable result mode [#26003](https://github.com/pingcap/tidb/pull/26003) + - [#25904](https://github.com/pingcap/tidb/pull/25904) + - Enlarge the variable tidb_stmt_summary_max_stmt_count default value from 200 to 3000 [#25872](https://github.com/pingcap/tidb/pull/25872) + - Enable the pushdown of builtin function json_unquote() to TiKV. [#25721](https://github.com/pingcap/tidb/pull/25721) + - planner: select distinct should bypass batchget [#25532](https://github.com/pingcap/tidb/pull/25532) + - Important security issue for handling ALTER USER statements [#25347](https://github.com/pingcap/tidb/pull/25347) + - Fix the bug that TIKV_REGION_PEERS table did not have the correct DOWN status. [#24918](https://github.com/pingcap/tidb/pull/24918) + - Handle a potential statistic object's memory leak when HTTP api is used [#24650](https://github.com/pingcap/tidb/pull/24650) + - don't let SPM be affected by charset [#23295](https://github.com/pingcap/tidb/pull/23295) + - time: parse datatime won't truncate the reluctant string. [#22260](https://github.com/pingcap/tidb/pull/22260) + - fix a bug that select into outfile has no data with year column type [#22185](https://github.com/pingcap/tidb/pull/22185) + + ++ TiKV/TiKV + + - Fix duration calculation panics on certain platforms [#10572](https://github.com/tikv/tikv/pull/10572) + - Fix duration calculation panics on certain platforms [#10566](https://github.com/tikv/tikv/pull/10566) + - fix wrong function cast double to double [#10532](https://github.com/tikv/tikv/pull/10532) + - Ensure panic output is flushed to the log [#10488](https://github.com/tikv/tikv/pull/10488) + - - fix follower meta corruption in rare cases with more than 4 replicas [#10484](https://github.com/tikv/tikv/pull/10484) + - Avoid panic when building a snapshot twice if encryption enabled [#10462](https://github.com/tikv/tikv/pull/10462) + - copr: fix the wrong arguments type of json_unquote [#10425](https://github.com/tikv/tikv/pull/10425) + - skip clearing callback during gracefully shutdown to avoid breaking ACID in some cases [#10395](https://github.com/tikv/tikv/pull/10395) + - ```release-note [#10360](https://github.com/tikv/tikv/pull/10360) + - Fix OOM when TiCDC resumes a changefeed in a cluster that has lots of regions being captured. [#10320](https://github.com/tikv/tikv/pull/10320) + - ```release-note [#10288](https://github.com/tikv/tikv/pull/10288) + - Approximate split range evenly [#10275](https://github.com/tikv/tikv/pull/10275) + - BR now supports S3-compatible storage using virtual-host addressing style. [#10242](https://github.com/tikv/tikv/pull/10242) + - Limit CDC sink memory consumption. [#10147](https://github.com/tikv/tikv/pull/10147) + - Add metrics to see pending pd heartbeats number [#10008](https://github.com/tikv/tikv/pull/10008) + - Change the default merge-check-tick-interval to 2 to speed up the retry of merge process [#9676](https://github.com/tikv/tikv/pull/9676) + - Fix an issue that split may panic and corrupt the metadata if the split process is too slow and region merge is open. [#9584](https://github.com/tikv/tikv/pull/9584) + + ++ PD + + - TiDB Dashboard: Add OIDC based SSO support [#3882](https://github.com/tikv/pd/pull/3882) + - Reduce the conflict due to multiple scheduler running in same time [#3858](https://github.com/tikv/pd/pull/3858) + - Fix the issue that the scheduler may appear again even if we have already executed the delete operation [#3825](https://github.com/tikv/pd/pull/3825) + - Update TiDB Dashboard to v2021.06.15.1 [#3797](https://github.com/tikv/pd/pull/3797) + - Fix the data race when the scheduler is started before loading TTL configurations [#3773](https://github.com/tikv/pd/pull/3773) + - Fix pd may get panic during scattering region [#3761](https://github.com/tikv/pd/pull/3761) + - Fix the issue that leader re-election be slow when there are many stores [#3718](https://github.com/tikv/pd/pull/3718) + - Fix the priority problems for some kinds of operators [#3703](https://github.com/tikv/pd/pull/3703) + - Fix the panic issue about remove evict leader scheduler from a nonexistent store [#3680](https://github.com/tikv/pd/pull/3680) + + ++ Tools + + + PingCAP/BR + + - ```release-note [#1142](https://github.com/pingcap/br/pull/1142) + - ```release-note [#1131](https://github.com/pingcap/br/pull/1131) + - ```release-note [#1128](https://github.com/pingcap/br/pull/1128) + - ```release-note [#655](https://github.com/pingcap/br/pull/655) + + + + PingCAP/TiCDC + + - puller,mounter,processor: always pull the old value internally [#2304](https://github.com/pingcap/ticdc/pull/2304) + - Fix extra partition dispatching when adding new table partition. [#2205](https://github.com/pingcap/ticdc/pull/2205) + - Better err msg when PD endpoint missing certificate [#2184](https://github.com/pingcap/ticdc/pull/2184) + - Add capture-session-ttl in cdc server config [#2169](https://github.com/pingcap/ticdc/pull/2169) + - Fix a bug that could cause cdc server panic because of the late calculation of resolved ts [#2046](https://github.com/pingcap/ticdc/pull/2046) + - Fix panic when TiCDC fails to read /proc/meminfo [#2023](https://github.com/pingcap/ticdc/pull/2023) + - Reduce unnecessary memory consumption [#2011](https://github.com/pingcap/ticdc/pull/2011) + - Make sorter IO errors more user-friendly. [#1976](https://github.com/pingcap/ticdc/pull/1976) + - Fix Unified Sorter memory consumption when tables are many. [#1957](https://github.com/pingcap/ticdc/pull/1957) + - Decrease the default gRPC connection pool size to decrease goroutines count. [#1950](https://github.com/pingcap/ticdc/pull/1950) + - Fix a bug that some MySQL connection could leak after MySQL sink meets error and pauses. [#1945](https://github.com/pingcap/ticdc/pull/1945) + - Add concurrency limit to the region incremental scan in kv client. [#1930](https://github.com/pingcap/ticdc/pull/1930) + - Add concurrency limit to the region incremental scan in kv client. [#1926](https://github.com/pingcap/ticdc/pull/1926) + - Add metrics for table memory consumption [#1884](https://github.com/pingcap/ticdc/pull/1884) + - Reduce memory malloc in sort heap to avoid too much CPU overhead. [#1862](https://github.com/pingcap/ticdc/pull/1862) + + +## Bug Fixes + ++ PingCAP/TiDB + + - Fix the problem that the div function may lose precision when it's a subpart of the whole expression. [#26390](https://github.com/pingcap/tidb/pull/26390) + - Generate correct number of rows when all agg funcs are pruned [#26039](https://github.com/pingcap/tidb/pull/26039) + - executor: fix ifnull bug when arg is enum/set [#26035](https://github.com/pingcap/tidb/pull/26035) + - fix wrong aggregate pruning for some cases [#26033](https://github.com/pingcap/tidb/pull/26033) + - Fix incorrect result of set type for merge join [#26032](https://github.com/pingcap/tidb/pull/26032) + - expression: fix IN expr critical bug [#25665](https://github.com/pingcap/tidb/pull/25665) + - Fix panic when 'select ... for update' works on a join operation and the join uses partition table [#25501](https://github.com/pingcap/tidb/pull/25501) + - Fix the issue point get cached plan of prepared statement is incorrectly used by in transaction point get statement. [#24764](https://github.com/pingcap/tidb/pull/24764) + + ++ Tools + + + PingCAP/BR + + - Fix parquet parse when parse decimal type [#1276](https://github.com/pingcap/br/pull/1276) + - Fix the bug that lightning returns EOF error when CSV file without '\r\n' at the last line and strict-format = true. [#1188](https://github.com/pingcap/br/pull/1188) + - Fix the bug that lightning rebase wrong auto_increment base when the auto_increment field type is float or double. [#1185](https://github.com/pingcap/br/pull/1185) + + +## Compatibility Changes + ++ PingCAP/TiDB + + - For users upgrading from TiDB 4.0, the value of tidb_multi_statement_mode is now OFF. It is recommended to use the multi-statement feature of your client library instead, see the documentation on tidb_multi_statement_mode for additional details. [#25749](https://github.com/pingcap/tidb/pull/25749) + + +## Improvements + ++ Tools + + + PingCAP/BR + + - ```release-note [#1317](https://github.com/pingcap/br/pull/1317) + +