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
store.mode=db 事务结束后globalsession的状态未正确修改为commited #5045
Labels
task: help-wanted
Extra attention is needed
Comments
我看了一下,是在SagaCore的doGlobalCommit方法中也添加这个判断嘛? 我可以试试吗? |
把 } |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ⅰ. Issue Description
Ⅱ. Describe what happened
saga模式下
store.mode = db 事务结束后globalsession的状态未正确修改为commited,依然还是begin,导致global表中状态为1,等待1800s后会对事务进行回滚;
SessionHelper中endCommitted的中的
store.mode = db 时DELAY_HANDLE_SESSION为true,进不了分支,导致不能changeGlobalStatus为Committed
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)
把DELAY_HANDLE_SESSION的取反去掉
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
The text was updated successfully, but these errors were encountered: