-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
在 TCC 的 Confirm, Cancel 两个阶段调用 HmilyContextHolder.get() 返回 null #296
Comments
是这个问题, 我在 Cancel 阶段用了很多个方法去获取 transactionId,都不生效,全都是空 |
已经在master修复,只是还没发布 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
在 Spring Cloud 微服务环境使用 Hmily 2.1.1 版本,只要在 Confirm, Cancel 两个阶段调用 HmilyContextHolder.get() 返回 null,无法获取到 HmilyTransactionContext。
代码连接:https://github.com/WebbDong/JAVA-01/tree/main/Week_08/lesson16/spring-cloud-hmily-bank-tcc
Environment
The text was updated successfully, but these errors were encountered: