事务发起方发生系统级别异常导致本地事务回滚远程事务成功,但是本地事务日志已经变成commit状态
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 591
- PR merge metrics
- No merged PRs in 30d
Description
1、业务中调用远程事务时,远程事务成功了;

2、远程服务返回时feign在解码时报错了,导致发起方事务回滚;
3、发起方最终还是会发送消息到远程服务,并且成功后本地事务日志会变成commit状态,可是第2步本地事务回滚了;

4、最终导致数据不一致,事务日志也变成commit了,无法再进行补偿;
总结:上述问题该怎么处理;
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files or tests. Start by tracing the remote transaction completion, the Feign response-decoding failure, the initiator's local rollback, and the later message and transaction-log commit. Done requires a clearly defined consistent outcome for this failure sequence and a way to verify that compensation remains possible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100