codingapi / codingapi/tx-lcn

TXC模式,flowable工作流的TaskService.complete(),解析的逆向sql执行失败

Đang mở
#573 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
4.2k
Fork
1.4k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

- [ ] 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

我们这边代码 进行业务流程审批(发起方)的时候,通过feign调用了flowable工作流工程的 TaskService.complete()方法(参与方),
发起方用的是LCN模式,
参与方用的是TXC模式,
结果发起方报错,参与方 解析的逆向sql语句,执行失败,导致事务回滚失败。
我通过t_tx_exception查看 逆向的sql语句,发现解析的sql语句中,
insert into act_ru_task这张表的主键 id数据为null,原数据的id是不为null的,
这个解析sql的逻辑,为啥会把数据id值,弄成null呢?

### 2. Environment:
- JDK version: 1.8
- OS: windows10
- TX-LCN version: 5.0.2.RELEASE
- Others:

### 4. Tour Idea

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start with the Flowable TaskService.complete() call and the TXC reverse-SQL record in t_tx_exception, using JDK 1.8, Windows 10, and TX-LCN 5.0.2.RELEASE. Reproduce the LCN-to-TXC flow and inspect why the act_ru_task insert loses its non-null id. Done means the reverse SQL preserves the original id and transaction rollback succeeds.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
backend, distributed-systems
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.