From 87b5a10156db0918206b16c6532dff2387cac979 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Thu, 24 Jun 2021 22:53:24 +0800 Subject: [PATCH 1/4] This is an automated cherry-pick of #5854 Signed-off-by: ti-chi-bot --- releases/release-5.1.0.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/releases/release-5.1.0.md b/releases/release-5.1.0.md index cb9db3007d268..e12dc9647fbdb 100644 --- a/releases/release-5.1.0.md +++ b/releases/release-5.1.0.md @@ -11,7 +11,7 @@ TiDB version: 5.1.0 In v5.1, the key new features or improvements are as follows: - Support the Common Table Expression (CTE) feature of MySQL 8.0 to improve the readability and execution efficiency of SQL statements. -- Support changing column types online to improve code development flexibility +- Support changing column types online to improve code development flexibility. - Introduce a new statistics type to improve query stability, which is enabled as an experimental feature by default. - Support the dynamic privilege feature of MySQL 8.0 to implement more fine-grained control over certain operations. - Support directly reading data from the local replica using the Stale Read feature to reduce read latency and improve query performance (Experimental). @@ -111,7 +111,7 @@ In v5.1, the key new features or improvements are as follows: SET TRANSACTION READ ONLY as of timestamp '2020-09-06 00:00:00'; ``` -- Introduce a new statistics type `tidb_analyze_version = 2` (experimental feature). +- Introduce a new statistics type `tidb_analyze_version = 2` (Experimental). `tidb_analyze_version` is set to `2` by default, which avoids the large errors that might occur in the large data volume caused by hash conflicts in Version 1 and maintains the estimation accuracy in most scenarios. @@ -119,13 +119,17 @@ In v5.1, the key new features or improvements are as follows: ### Transaction -+ Support the Lock View feature (Experimental Feature) ++ Support the Lock View feature (Experimental) The Lock View feature provides more information about lock conflicts and lock waits of pessimistic locks, which helps DBAs to observe transaction locking conditions and troubleshoot deadlock problems. [#24199](https://github.com/pingcap/tidb/issues/24199) - + User document: +<<<<<<< HEAD - View the pessimistic locks and other locks that currently occur on all TiKV nodes in the clusters: +======= + - View the pessimistic locks and other locks that currently occur on all TiKV nodes in the clusters: +>>>>>>> 1ff667e0a (Update v5.1 release notes for lint issues (#5854)) [`DATA_LOCK_WAITS`](/information-schema/information-schema-data-lock-waits.md) - View several deadlock errors that recently occured on the TiDB nodes: [`DEADLOCKS`](/information-schema/information-schema-deadlocks.md) @@ -152,7 +156,7 @@ In v5.1, the key new features or improvements are as follows: - If large amounts of data is accumulated during the replication interruption, exceeding 1TB, the re-replication causes OOM problems. - 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) + [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 @@ -211,6 +215,7 @@ To learn more about the information and how to disable this behavior, refer to [ - Improve TiFlash compatibility when running on unknown CPUs + PD + - Avoid unexpected statistics after adding the `scatter region` scheduler [#3602](https://github.com/pingcap/pd/pull/3602) - Solve multiple scheduling issues in the scaling process From 902b0cdcfa92192c1680f04bd24e587b28345e5d Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Thu, 24 Jun 2021 22:57:38 +0800 Subject: [PATCH 2/4] Update releases/release-5.1.0.md --- releases/release-5.1.0.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/releases/release-5.1.0.md b/releases/release-5.1.0.md index e12dc9647fbdb..234c3f474d662 100644 --- a/releases/release-5.1.0.md +++ b/releases/release-5.1.0.md @@ -125,9 +125,7 @@ In v5.1, the key new features or improvements are as follows: User document: -<<<<<<< HEAD - View the pessimistic locks and other locks that currently occur on all TiKV nodes in the clusters: -======= - View the pessimistic locks and other locks that currently occur on all TiKV nodes in the clusters: >>>>>>> 1ff667e0a (Update v5.1 release notes for lint issues (#5854)) [`DATA_LOCK_WAITS`](/information-schema/information-schema-data-lock-waits.md) From d3d8f6f058536cff4dd1146d9f00bdde070b504c Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Thu, 24 Jun 2021 22:58:19 +0800 Subject: [PATCH 3/4] Update releases/release-5.1.0.md --- releases/release-5.1.0.md | 1 - 1 file changed, 1 deletion(-) diff --git a/releases/release-5.1.0.md b/releases/release-5.1.0.md index 234c3f474d662..9ee5f141285b9 100644 --- a/releases/release-5.1.0.md +++ b/releases/release-5.1.0.md @@ -127,7 +127,6 @@ In v5.1, the key new features or improvements are as follows: - View the pessimistic locks and other locks that currently occur on all TiKV nodes in the clusters: - View the pessimistic locks and other locks that currently occur on all TiKV nodes in the clusters: ->>>>>>> 1ff667e0a (Update v5.1 release notes for lint issues (#5854)) [`DATA_LOCK_WAITS`](/information-schema/information-schema-data-lock-waits.md) - View several deadlock errors that recently occured on the TiDB nodes: [`DEADLOCKS`](/information-schema/information-schema-deadlocks.md) From 9b067a0ea0dc1dc21543303029b86ce7752074a3 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Thu, 24 Jun 2021 23:01:29 +0800 Subject: [PATCH 4/4] Update releases/release-5.1.0.md --- releases/release-5.1.0.md | 1 - 1 file changed, 1 deletion(-) diff --git a/releases/release-5.1.0.md b/releases/release-5.1.0.md index 9ee5f141285b9..0780d76f67486 100644 --- a/releases/release-5.1.0.md +++ b/releases/release-5.1.0.md @@ -126,7 +126,6 @@ In v5.1, the key new features or improvements are as follows: User document: - View the pessimistic locks and other locks that currently occur on all TiKV nodes in the clusters: - - View the pessimistic locks and other locks that currently occur on all TiKV nodes in the clusters: [`DATA_LOCK_WAITS`](/information-schema/information-schema-data-lock-waits.md) - View several deadlock errors that recently occured on the TiDB nodes: [`DEADLOCKS`](/information-schema/information-schema-deadlocks.md)