We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What happened:
see PR:apache/incubator-seata#5131
The text was updated successfully, but these errors were encountered:
@smiletrl
Sorry, something went wrong.
这个PR #672 参照Java 那边的PR https://github.com/apache/incubator-seata/pull/5131/files,修改的内容是一致的。但是这个错误 XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state 在Go的这里依然存在。
XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state
当全局事务时间过期了,但是本地RM的业务sql还没有跑完,此时TC发送RM Rollback的请求,本地会报这个错误。
出现这个错误,建议业务层将sql执行查询的timeout时间缩短,或者将全局事务timeout的时间放长。代码层面,感觉除非强制关闭db connection,没有其他特别好的方案处理。就只能等tc 重试次数达到最高值。
Successfully merging a pull request may close this issue.
What happened:
see PR:apache/incubator-seata#5131
The text was updated successfully, but these errors were encountered: