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

A 调用 B,B系统接收到A的请求正在执行,此时A系统宕机,后续事物没有cancel #342

Open
fanlins opened this issue Dec 2, 2022 · 1 comment

Comments

@fanlins
Copy link

fanlins commented Dec 2, 2022

Describe the bug

A 调用 B,B系统接收到A的请求正在执行,此时A系统宕机,后续A系统恢复运行,A B事物都没有进行cancel,也没有confirm。

下面是mysql中存储的事务日志:

发起者:

trans_id ** app_name** status trans_type retry version create_time update_time
-4.18837E+18 mid-trade 0 TCC 0 1 ######## ########

参与者:

participant_id participant_ref_id trans_id trans_type status app_name role retry target_class target_method confirm_method cancel_method confirm_invocation cancel_invocation version create_time update_time
-4.18837E+18 -4.188E+18 TCC 0 mid-trade 1 0 xx applyPay applyPayConfirm applyPayCancel xx xx 1
-4.18837E+18 -4.188E+18 TCC 8 mid-account 3 11 xx trade tradeConfirm tradeCancel xx xx 12

Environment

  • hmily version(s): [ 2.1.1 ]
@checkHup
Copy link

我用了2.1.2的版本出现的问题差不多,只要B系统异常了,就不会进入B系统的cancel方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants