Skip to content

Commit

Permalink
txn: deprecate the tidb_disable_txn_auto_retry system variable (pingc…
Browse files Browse the repository at this point in the history
  • Loading branch information
lilin90 authored Mar 19, 2024
1 parent d8477d8 commit 96269ee
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 @@ -1552,7 +1552,7 @@ mysql> SELECT job_info FROM mysql.analyze_jobs ORDER BY end_time DESC LIMIT 1;

> **警告:**
>
> 该变量将从 TiDB v8.0.0 开始废弃,废弃后不再支持乐观事务的自动重试。作为替代,当事务冲突时,请在应用捕获错误并重试,或改用[悲观事务模式](/pessimistic-transaction.md)。
> v8.0.0 开始,该变量被废弃。废弃后,TiDB 不再支持乐观事务的自动重试。作为替代,当使用乐观事务模式发生冲突时,请在应用里捕获错误并重试,或改用[悲观事务模式](/pessimistic-transaction.md)。

- 作用域:SESSION | GLOBAL
- 是否持久化到集群:是
Expand Down

0 comments on commit 96269ee

Please sign in to comment.