Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

releases: add tidb 4.0.14 release notes #5996

Merged
merged 25 commits into from
Jul 27, 2021
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
modify notes except Tools
  • Loading branch information
TomShawn committed Jul 21, 2021
commit 3afd254a001a1c7607dcf43b60e4b97b9758469a
104 changes: 52 additions & 52 deletions releases/release-4.0.14.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ TiDB version: 4.0.14
+ TiDB

- Change the default value of `tidb_multi_statement_mode` from `WARN` to `OFF` in v4.0. It is recommended to use the multi-statement feature of your client library instead. See [the documentation on `tidb_multi_statement_mode`](/system-variables.md#tidb_multi_statement_mode-new-in-v4011) for details. [#25749](https://github.com/pingcap/tidb/pull/25749)
- Upgrade Grafana dashboard from v6.1.16 to v7.5.7 to solve two security vulnerabilities. See the [Grafana post](https://grafana.com/blog/2020/06/03/grafana-6.7.4-and-7.0.2-released-with-important-security-fix/) for details.
- Enlarge the variable `tidb_stmt_summary_max_stmt_count` default value from 200 to 3000 [#25872](https://github.com/pingcap/tidb/pull/25872)
- Upgrade Grafana dashboard from v6.1.16 to v7.5.7 to solve two security vulnerabilities. See the [Grafana blog post](https://grafana.com/blog/2020/06/03/grafana-6.7.4-and-7.0.2-released-with-important-security-fix/) for details.
- Change the default value of the `tidb_stmt_summary_max_stmt_count` variable from `200` to `3000` [#25872](https://github.com/pingcap/tidb/pull/25872)

+ TiKV

Expand All @@ -29,18 +29,18 @@ TiDB version: 4.0.14

+ TiDB Dashboard

- Add OIDC SSO support. Users can sign into TiDB Dashboard without entering the SQL password by using OIDC SSO services (like Okta, Auth0, etc). [#960](https://github.com/pingcap/tidb-dashboard/pull/960)
- Add Debug API UI, which can be used to invoke several common TiDB and PD internal APIs for advanced debugging. [#927](https://github.com/pingcap/tidb-dashboard/pull/927)
- Support OIDC SSO. By setting the OIDC-compatible SSO services (such as Okta and Auth0), users can log into TiDB Dashboard without entering the SQL password. [#960](https://github.com/pingcap/tidb-dashboard/pull/960)
- Add the **Debug API** UI, which is an alternative method to the command line to call several common TiDB and PD internal APIs for advanced debugging. [#927](https://github.com/pingcap/tidb-dashboard/pull/927)

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
## Improvements
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
+ TiDB

- 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)
- Support the MySQL system variable `init_connect` and associated functionality. [#26031](https://github.com/pingcap/tidb/pull/26031)
- Support stable result mode [#26003](https://github.com/pingcap/tidb/pull/26003)
- Enable the pushdown of builtin function `json_unquote()` to TiKV. [#25721](https://github.com/pingcap/tidb/pull/25721)
- Make SPM not be affected by charset [#23295](https://github.com/pingcap/tidb/pull/23295)
?- Change the lock records into put record for the index keys using `point get` or `batch point get` for `UPDATE` reads [#26223](https://github.com/pingcap/tidb/pull/26223)
- Support the MySQL system variable `init_connect` and its associated features [#26031](https://github.com/pingcap/tidb/pull/26031)
- Support the stable result mode to make the query results more stable [#26003](https://github.com/pingcap/tidb/pull/26003)
- Support pushing down the built-in function `json_unquote()` to TiKV [#25721](https://github.com/pingcap/tidb/pull/25721)
- Make the SQL Plan Management (SPM) not affected by the character set [#23295](https://github.com/pingcap/tidb/pull/23295)

+ TiKV

Expand All @@ -51,13 +51,12 @@ TiDB version: 4.0.14

+ PD

- Update TiDB Dashboard to v2021.07.17.1 [#3882](https://github.com/pingcap/pd/pull/3882)
- Reduce the conflict due to multiple schedulers running at the same time [#3858](https://github.com/pingcap/pd/pull/3858) [#3854](https://github.com/tikv/pd/pull/3854)
- Fix the issue that leader re-election is slow when there are many stores [#3718](https://github.com/pingcap/pd/pull/3718)
- Reduce the conflicts among multiple schedulers that run at the same time [#3858](https://github.com/pingcap/pd/pull/3858) [#3854](https://github.com/tikv/pd/pull/3854)

+ TiDB Dashboard

- Support sharing session as read-only to avoid further modifications [#960](https://github.com/pingcap/tidb-dashboard/pull/960)
- Update TiDB Dashboard to v2021.07.17.1 [#3882](https://github.com/pingcap/pd/pull/3882)
- Support sharing the current session as a read-only session to avoid further modification to it [#960](https://github.com/pingcap/tidb-dashboard/pull/960)

+ Tools

Expand All @@ -80,59 +79,60 @@ TiDB version: 4.0.14

+ TiDB

- Generate a correct number of rows when all agg funcs are pruned [#26039](https://github.com/pingcap/tidb/pull/26039)
- 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)
- 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 a prepared statement is incorrectly used by in transaction point get statement. [#24764](https://github.com/pingcap/tidb/pull/24764)
- Fix load data with non-utf8 can succeed [#26142](https://github.com/pingcap/tidb/pull/26142)
- Fix a potential statistic object's memory leak when HTTP api is used [#24650](https://github.com/pingcap/tidb/pull/24650)
- Fix the security issue for handling ALTER USER statements [#25347](https://github.com/pingcap/tidb/pull/25347)
- Fix the issue that the `SELECT` result is incompatible with MySQL when joining a subquery with a `WHERE` clause evaluated to `false` [#24865](https://github.com/pingcap/tidb/issues/24865)
- Fix the calculation error of the `ifnull` function that occurs when the argument is the `ENUM` or `SET` type [#24944](https://github.com/pingcap/tidb/issues/24944)
- Fix the wrong aggregate pruning in some cases [#26033](https://github.com/pingcap/tidb/pull/26033)
- Fix the incorrect result of the merge join operation that might occur when the column is the `SET` type [#26032](https://github.com/pingcap/tidb/pull/26032)
- Fix the issue that TiDB returns wrong results for cartesian join [#25665](https://github.com/pingcap/tidb/pull/25665)
- Fix the panic issue that occurs when `SELECT ... FOR UPDATE` works on a join operation and the join uses a partitioned table [#25501](https://github.com/pingcap/tidb/pull/25501)
- Fix the issue that the cached `prepared` plan is incorrectly used for `point get` [#24764](https://github.com/pingcap/tidb/pull/24764)
- Fix the issue that the `LOAD DATA` statement can abnormally import non-utf8 data [#26142](https://github.com/pingcap/tidb/pull/26142)
- Fix a potential memory leak issue that occurs when accessing the statistics via an HTTP API [#24650](https://github.com/pingcap/tidb/pull/24650)
- Fix a security issue that occurs when executing the `ALTER USER` statement [#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)
- Fix parsing DateTime not truncate the reluctant string. [#22260](https://github.com/pingcap/tidb/pull/22260)
- Fix `select into outfile` have no data with year column type [#22185](https://github.com/pingcap/tidb/pull/22185)
- Fix the issue that invalid strings are not truncated when parsing `DateTime` [#22260](https://github.com/pingcap/tidb/pull/22260)
- Fix the issue that the `select into outfile` statement might have no result when the column type is `YEAR` [#22185](https://github.com/pingcap/tidb/pull/22185)

+ TiKV

- Fix duration calculation panics on certain platforms [#10572](https://github.com/tikv/tikv/pull/10572)
- 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)
- 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)
- Fix backup threads leak [#10360](https://github.com/tikv/tikv/pull/10360)
- 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)
- Fix region heartbeat preventing from TiKV splitting large regions [#10274](https://github.com/tikv/tikv/pull/10274)
- Fix wrong statistics due to format inconsistency of CM Sketch between TiKV and TiDB [#10433](https://github.com/tikv/tikv/pull/10433)
- Fix wrong apply wait duration metrics [#9966](https://github.com/tikv/tikv/pull/9966)
- Fix "Missing Blob" error after using delete_files_in_range with titan [#10232](https://github.com/tikv/tikv/pull/10232)
- Fix the issue that the duration calculation might panic on certain platforms [#10572](https://github.com/tikv/tikv/pull/10572)
- Fix the wrong function that casts `DOUBLE` to `DOUBLE` [#25200](https://github.com/pingcap/tidb/issues/25200)
- Fix the issue that the panic log might be lost when using the async logger [#8998](https://github.com/tikv/tikv/issues/8998)
- Fix the panic issue that occurs when building a snapshot twice if encryption is enabled [#10462](https://github.com/tikv/tikv/pull/10462)
- Fix the wrong arguments type of the `json_unquote()` function in the coprocessor [#10176](https://github.com/tikv/tikv/issues/10176)
- Fix the issues of suspicious warnings during shutdown and the non-deterministic response from Raftstore [#10395](https://github.com/tikv/tikv/pull/10395)
- Fix the issue of backup threads leak [#10360](https://github.com/tikv/tikv/pull/10360)
- Fix the issue that Region split might panic and corrupt the metadata if the split process is too slow and Region merge is on-going [#9584](https://github.com/tikv/tikv/pull/9584)
- Fix the issue that the Region heartbeats prevent TiKV from splitting large Regions in some situation [#10274](https://github.com/tikv/tikv/pull/10274)
- Fix the wrong statistics caused by the format inconsistency of CM Sketch between TiKV and TiDB [#10433](https://github.com/tikv/tikv/pull/10433)
- Fix the wrong statistics of the `apply wait duration` metric [#9966](https://github.com/tikv/tikv/pull/9966)
- Fix the "Missing Blob" error after using `delete_files_in_range` in Titan [#10232](https://github.com/tikv/tikv/pull/10232)

+ PD

- Fix the bug that the scheduler may reappear after executing the delete operation [#3825](https://github.com/pingcap/pd/pull/3825)
- Fix the data race when the scheduler is started before loading TTL config [#3773](https://github.com/pingcap/pd/pull/3773)
- Fix the bug that PD may panic during the scattering region [#3761](https://github.com/pingcap/pd/pull/3761)
- Fix a bug that the scheduler might reappear after executing the delete operation [#3825](https://github.com/pingcap/pd/pull/3825)
- Fix the data race issue that might occur when the scheduler is started before the temporary configuration is loaded [#3773](https://github.com/pingcap/pd/pull/3773)
- Fix a PD panic issue that might occur during the Region scattering operation [#3761](https://github.com/pingcap/pd/pull/3761)
- Fix the issue that the priority of some operators is not set correctly [#3703](https://github.com/pingcap/pd/pull/3703)
- Fix the bug that PD may panic when deleting the evict leader scheduler from a non-existent store. [#3680](https://github.com/pingcap/pd/pull/3680)
- Fix a PD panic issue that might occur when deleting the `evict-leader` scheduler from a non-existent store [#3680](https://github.com/pingcap/pd/pull/3680)
- Fix the issue that the PD Leader re-election is slow when there are many stores [#3697](https://github.com/tikv/pd/issues/3697)

+ TiDB Dashboard

- Fix profiling UI cannot profile all TiDB instances [#944](https://github.com/pingcap/tidb-dashboard/pull/944)
- Fix statement UI does not display "# Plans" [#939](https://github.com/pingcap/tidb-dashboard/pull/939)
- Fix slow query UI displays "unknown field" error after cluster upgrade [#930](https://github.com/pingcap/tidb-dashboard/pull/930)
- Fix the issue that the **Profiling** UI cannot profile all TiDB instances [#944](https://github.com/pingcap/tidb-dashboard/pull/944)
- Fix the issue that the **Statements** UI does not display "Plan Count" [#939](https://github.com/pingcap/tidb-dashboard/pull/939)
- Fix the issue that the **Slow Query** UI might display the "unknown field" error after cluster upgrade [#930](https://github.com/pingcap/tidb-dashboard/pull/930)

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
+ TiFlash

- Fix the potential panic issue that occurs while compiling DAG requests
- Fix the panic issue that occurs when read load is heavy
- Fix the issue that TiFlash keeps restarting because of split failure in column storage
- Fix a potential bug that TiFlash can not GC delta data
- Fix the issue of incorrect results when cloning shared delta index concurrently
- Fix a bug that TiFlash fails to restart because of incomplete data
- Fix the issue that old dm files are not removed automatically
- Fix the panic issue that occurs while executing `SUBSTRING` function with specific arguments
- Fix the potential panic issue that occurs when compiling DAG requests
- Fix the panic issue that occurs when the read load is heavy
- Fix the issue that TiFlash keeps restarting because of the split failure in column storage
- Fix a potential bug that TiFlash cannot delete the delta data
- Fix the incorrect results that occur when cloning the shared delta index concurrently
- Fix a bug that TiFlash fails to restart in the case of incomplete data
- Fix the issue that the old dm files cannot be removed automatically
- Fix the panic issue that occurs when executing the `SUBSTRING` function with specific arguments
- Fix the issue of incorrect results when casting the `INTEGER` type to the `TIME` type

+ Tools
Expand Down