Skip to content

Commit

Permalink
txn: deprecate the tidb_disable_txn_auto_retry system variable (#16530)
Browse files Browse the repository at this point in the history
  • Loading branch information
lilin90 authored Mar 19, 2024
1 parent 4a79313 commit 669d957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 669d957

Please sign in to comment.