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] 事务提交返回TimeoutRollbacking未抛异常 #698

Open
1 task done
luky116 opened this issue Nov 23, 2024 · 0 comments
Open
1 task done

[seata-java] 事务提交返回TimeoutRollbacking未抛异常 #698

luky116 opened this issue Nov 23, 2024 · 0 comments

Comments

@luky116
Copy link
Contributor

luky116 commented Nov 23, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description

TM向TC发起事务提交时,TC返回了状态TimeoutRollbacking, 但没有抛出异常,导致TM认为事务提交成功,实际TC推动各个RM进行了回滚。

refer to: #698

Ⅱ. Describe what happened

None

Ⅲ. Describe what you expected to happen

事务提交返回TimeoutRollbacking未抛异常

Ⅳ. How to reproduce it (as minimally and precisely as possible)

在事务中执行业务逻辑代码超出分布式事务的超时时长,就会发生

Ⅴ. Anything else we need to know?

参考代码

  • io.seata.tm.api.TransactionalTemplate#execute
  • io.seata.tm.api.DefaultGlobalTransaction#commit

Ⅵ. Environment:

  • JDK version : 1.8
  • Seata version: 1.4.2
  • OS : CentOS
  • Others:
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

1 participant