From 669d9575cdf141c4eefee35da01075ddd8046950 Mon Sep 17 00:00:00 2001 From: Lilian Lee Date: Tue, 19 Mar 2024 11:05:12 +0800 Subject: [PATCH] txn: deprecate the tidb_disable_txn_auto_retry system variable (#16530) --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index cd95e53212067..c278a76a51a58 100644 --- a/system-variables.md +++ b/system-variables.md @@ -1744,7 +1744,7 @@ mysql> SELECT job_info FROM mysql.analyze_jobs ORDER BY end_time DESC LIMIT 1; > **Warning:** > -> Starting from TiDB v8.0.0, this variable will be deprecated, and TiDB will no longer support automatic retries of optimistic transactions. As an alternative, when encountering transaction conflicts, you can capture the error and retry transactions in your application, or use the [Pessimistic transaction mode](/pessimistic-transaction.md) instead. +> Starting from v8.0.0, this variable is deprecated, and TiDB no longer supports automatic retries of optimistic transactions. As an alternative, when encountering optimistic transaction conflicts, you can capture the error and retry transactions in your application, or use the [Pessimistic transaction mode](/pessimistic-transaction.md) instead. - Scope: SESSION | GLOBAL - Persists to cluster: Yes