Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[seata-java] Unexpected transaction rollback #705

Open
luky116 opened this issue Nov 23, 2024 · 1 comment
Open

[seata-java] Unexpected transaction rollback #705

luky116 opened this issue Nov 23, 2024 · 1 comment

Comments

@luky116
Copy link
Contributor

luky116 commented Nov 23, 2024

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?:

@luky116 luky116 changed the title [seata-java] https://github.com/apache/incubator-seata/issues/4997 [seata-java] Unexpected transaction rollback Nov 23, 2024
@r1ngtone
Copy link

r1ngtone commented Jan 4, 2025

pls assign to me

@Code-Fight Code-Fight assigned Code-Fight and r1ngtone and unassigned Code-Fight Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants