-
Notifications
You must be signed in to change notification settings - Fork 602
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
事务发起方发生系统级别异常导致本地事务回滚远程事务成功,但是本地事务日志已经变成commit状态 #35
Comments
为什么远程成功了,还会有远程造成的错误? 不应该去解决这个问题吗? |
我改一下吧。之前就不会考虑到这种情况 |
这个问题是并发测试出现的: |
1.首先你要解决偶尔性的转换异常。 |
1、正在排查那个诡异的偶发问题; |
1、业务中调用远程事务时,远程事务成功了;
2、远程服务返回时feign在解码时报错了,导致发起方事务回滚;
3、发起方最终还是会发送消息到远程服务,并且成功后本地事务日志会变成commit状态,可是第2步本地事务回滚了;
4、最终导致数据不一致,事务日志也变成commit了,无法再进行补偿;
总结:上述问题该怎么处理;
The text was updated successfully, but these errors were encountered: