-
Notifications
You must be signed in to change notification settings - Fork 663
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
提一个边界性的问题 #32
Comments
raincat 会记录整个日志,如果是你说的情况,在s3启动的时候,通过定时任务进行一次提交。 |
定时任务怎么提交呢?因为S3宕机,这个事务应该是关闭了的,那么在启动的时候,怎么重新打开这个事务。 |
本地事务 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
先赞叹一下,作者真大牛。
A调用了S1,S2,S3服务,运行正常进入提交事务的过程。S1提交正常,S2提交正常。但是提交S3的时候,可S3的网络出现问题,或者是S3对应的DB3数据库宕机。
这个时候会陷入这样的境地,那就是S1,和S2的事务已经提交,没法回滚,也没有办法让S3提交。这个问题要怎么处理?
还有,本地服务的补偿,是一个什么样的机制呢?因为并没有看到关于补偿的介绍
The text was updated successfully, but these errors were encountered: