-
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
参与者handler中提交事务是若抛异常会导致数据不一致 #10
Comments
这种情况几率太小了,您认为不能在finally 里面删除,那应该在怎么处理好呢 |
这种几率并不小,很多原因会导致最终commit的时候失败,比如MySQL服务端kill了连接等等... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ActorTxTransactionHandler代码第160行"platformTransactionManager.commit(transactionStatus);"参与者提交事务时如果抛异常,当前事务回滚,在finally中删除了本地补偿信息,这样就导致了当前服务的数据丢失,其他服务数据正常入库,且当前服务无法进行补偿
The text was updated successfully, but these errors were encountered: