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
官方Demo中 order-server调用account-server,在account-server中再调用stock-server,stock-server异常,只有order-server回滚,account-server抛出了异常,但是不会回滚,
是不支持起嵌套事务吗?
The text was updated successfully, but these errors were encountered:
我也看到这部分的bug,在account刚开始拦截后,当前action状态还是try状态,一旦发生异常,直接就将当前的分支事务给remove了,不会走cancel或者revert,因为事务日志已经没有了。如果需要处理,可以考虑在这部分做一个本地事务,如果嵌套调用失败了,就回滚当前的事务,但是会出现锁资源的问题,事务一直阻塞无法提交,并发量一旦大起来,这里会出现大量阻塞
Sorry, something went wrong.
No branches or pull requests
官方Demo中
order-server调用account-server,在account-server中再调用stock-server,stock-server异常,只有order-server回滚,account-server抛出了异常,但是不会回滚,
是不支持起嵌套事务吗?
The text was updated successfully, but these errors were encountered: