docs-cn icon indicating copy to clipboard operation
docs-cn copied to clipboard

可重复读隔离级别文档表述的小问题

Open awmleer opened this issue 5 months ago • 0 comments

Change Request

This repository is ONLY used to solve problems related to DOCS-CN. For other issues (TiDB, TiKV, etc), please move to other repositories.

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.

隔离级别这篇文档中,下面这句的话的表述有点不太严谨:

处于可重复读隔离级别的事务不能并发的更新同一行,当事务提交时发现该行在该事务启动后,已经被另一个已提交的事务更新过,那么该事务会回滚。

  1. Describe your suggestion or addition.

或许可以考虑修改为:

处于可重复读隔离级别的事务不能并发的更新同一行,当事务提交时发现该行在该事务启动后,已经被另一个已提交的事务更新过,那么:对于乐观事务,该事务会回滚,对于悲观事务,会等锁直到另一个事务提交或回滚。

  1. Provide some reference materials (documents, websites, etc) if you could.

awmleer avatar May 27 '25 01:05 awmleer