From 6122d0b83e4acab4b808839b8bbd0569514cdb1d Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 25 Jun 2021 14:39:38 +0800 Subject: [PATCH 1/2] Add a missing sentence in 5.1.0 release notes --- releases/release-5.1.0.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/releases/release-5.1.0.md b/releases/release-5.1.0.md index 84fdddda6940f..dec9d39088fcd 100644 --- a/releases/release-5.1.0.md +++ b/releases/release-5.1.0.md @@ -22,7 +22,7 @@ In v5.1, the key new features or improvements are as follows: > **Note:** > -> When upgrading from an earlier TiDB version to v5.1, if you want to know the compatibility change notes of all intermediate versions, you can check the [Release Notes](/releases/release-notes.md) for the corresponding version. +> When upgrading from an earlier TiDB version to v5.1, if you want to know the compatibility change notes of all intermediate versions, you can check the [Release Notes](/releases/release-notes.md) for the corresponding version. ### System variables @@ -68,11 +68,13 @@ In v5.1, the key new features or improvements are as follows: ### SQL -- Support the Common Table Expression (CTE) feature of MySQL 8.0, which empowers TiDB with the capability of querying hierarchical data recursively or non-recursively. +- Support the Common Table Expression (CTE) feature of MySQL 8.0, which empowers TiDB with the capability of querying hierarchical data recursively or non-recursively. - This feature meets the needs of using tree queries to implement application logics in multiple sectors such as human resources, manufacturing, financial markets, and education. [User document](/sql-statements/sql-statement-with.md), [#17472](https://github.com/pingcap/tidb/issues/17472) + This feature meets the needs of using tree queries to implement application logics in multiple sectors such as human resources, manufacturing, financial markets, and education. -- Support the dynamic privilege feature of MySQL 8.0. + In TiDB, you can apply the `WITH` statement to use Common Table Expressions. [User document](/sql-statements/sql-statement-with.md), [#17472](https://github.com/pingcap/tidb/issues/17472) + +- Support the dynamic privilege feature of MySQL 8.0. Dynamic privileges are used to limit the `SUPER` privilege and provide TiDB with more flexible privilege configuration for more fine-grained access control. For example, you can use dynamic privileges to create a user account that can only perform `BACKUP` and `RESTORE` operations. @@ -86,7 +88,7 @@ In v5.1, the key new features or improvements are as follows: You can also use plugins to add new privileges. To check out all supported privileges, execute the `SHOW PRIVILEGES` statement. [User document](/privilege-management.md) -- Add a new configuration item for the Security Enhanced Mode (SEM), which divides the TiDB administrator privileges in a finer-grained way. +- Add a new configuration item for the Security Enhanced Mode (SEM), which divides the TiDB administrator privileges in a finer-grained way. The Security Enhanced Mode is disabled by default. To enable it, see the [user document](/system-variables.md#tidb_enable_enhanced_security). From ee07044d5e718b7fe08dbf416c1e481087f5da77 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Fri, 25 Jun 2021 14:40:04 +0800 Subject: [PATCH 2/2] Update release-5.1.0.md --- releases/release-5.1.0.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/release-5.1.0.md b/releases/release-5.1.0.md index dec9d39088fcd..4c50eb5a1200c 100644 --- a/releases/release-5.1.0.md +++ b/releases/release-5.1.0.md @@ -151,7 +151,7 @@ In v5.1, the key new features or improvements are as follows: - Large amounts of data writes cause OOM problems in TiCDC. - Reduce the possibility of TiCDC replication interruption in the following scenarios: [project#11](https://github.com/pingcap/ticdc/projects/11) - + - Replication interruption when the network is unstable - Replication interruption when some TiKV/PD/TiCDC nodes are down @@ -203,7 +203,7 @@ To learn more about the information and how to disable this behavior, refer to [ - Support `Union All`, `TopN`, and `Limit` functions - Support the Cartesian product including left outer join and semi anti join in MPP mode - Optimize lock operations to avoid that running DDL statements and read operations are blocked by each other - - Optimize cleanup of expired data by TiFlash + - Optimize cleanup of expired data by TiFlash - Support further filtering of query filters on `timestamp` columns at the TiFlash storage level - Improve the startup and scalability speed of TiFlash when a large number of tables are in a cluster - Improve TiFlash compatibility when running on unknown CPUs