TXC事物回滚顺序问题,导致数据不一致
Open
- Dominant language
- Java
- Stars
- 4.2k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
- [ ] I have searched the [issues](https://github.com/codingapi/tx-lcn/issues) of this repository and believe that this is not a duplicate.
### 1. Bug Description
再一个事务中,对同一个表的同条数据的相同的字段进行多次update操作的时候,然后再吊起方末尾进行异常的抛出,这时候会进行回滚,回滚是根据tx_exception的记录的执行sql进行回滚,但是回滚顺序和执行顺序是一样的,导致回滚数据不正确的问题
### 2. Environment:
- JDK version: 1.8
- OS: ubuntu 16.0.4
- TX-LCN version: 5.0.2
- Others:
### 3. Exception Stacktrace
```
Paste your Exception Stacktrace here!
```
### 4. Tour Idea
我看了查询tx_exception表的语句,比较直接查找对应的groupid的数据然后进行回滚没有考虑到顺序的问题,可否改成逆序的回滚呢
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.