Skip to content

[seata-java] Unexpected transaction rollback #705

Open
@luky116

Description

refer: apache/incubator-seata#5051

What happened:

当出现如下情况时,事务将被意外回滚
1.当这个商品被创建后,事务决议成回滚状态
2.随之商品被创建后又被其他本地事务(没有加globaltransational注解或者传递xid失败的情况下)给修改了,比如库存,商品描述之类的
3.这个商品一直被脏写无法回滚,因为已经被修改了
4.这个商品在某一天被改回了当初创建出来的数据,seata-server下发回滚发现后镜像跟undolog中记录一致,所以回滚掉了

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions