dromara / dromara/myth

事务发起方发生系统级别异常导致本地事务回滚远程事务成功,但是本地事务日志已经变成commit状态

Open
#35 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.5k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

1、业务中调用远程事务时,远程事务成功了;
![myth-01](https://user-images.githubusercontent.com/21134578/47196345-a0b98980-d392-11e8-8c16-6a3e89618c9a.png)
2、远程服务返回时feign在解码时报错了,导致发起方事务回滚;
3、发起方最终还是会发送消息到远程服务,并且成功后本地事务日志会变成commit状态,可是第2步本地事务回滚了;
![myth-02](https://user-images.githubusercontent.com/21134578/47196346-a1522000-d392-11e8-8e9c-dac2c77af0ad.png)
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.