tx-lcn icon indicating copy to clipboard operation
tx-lcn copied to clipboard

LCN distributed transaction framework, compatible with dubbo, spring cloud and Motan framework, supports various relational databases

Results 106 tx-lcn issues
Sort by recently updated
recently updated
newest added

- [ ] 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 java.lang.NullPointerException: null at com.codingapi.txlcn.txmsg.netty.bean.SocketManager.removeKeys(SocketManager.java:178) ~[txlcn-txmsg-netty-5.0.2.RELEASE.jar!/:5.0.2.RELEASE] at com.codingapi.txlcn.txmsg.netty.impl.NettyRpcClient.remoteKeys(NettyRpcClient.java:96)...

demo主要以txlcn-demo构建,版本是5.0.2。大致流程为serviceA调用serviceB删除某条数据的方法,该方法是通过JpaRepository的deleteById实现的。serviceA模拟异常发生后,serviceB开始尝试数据补偿,逆向插入删除的那条数据,但是我根据日志和断点发现,补偿的sql语句是正常的,但是参数数组却多了一个参数,其参数值为null,最终无法执行SQL导致补偿失败。 --- 数据库表 ``` CREATE TABLE `tb_description` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, PRIMARY KEY (`id`)...

- [ ] 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 ### 2. Environment: - JDK version: -...

我准备使用Mycat和postgresSQL做数据库集群和读写分离,可以提供一个LCN的例子吗

# SpringCloud Feign 调用服务 1.分布式事务超时:发起者开启分布式事务lcn模式,参与者加入事务,由于参与者方事务没有提交,导致发起者方的feign 调用超时 2.参与者的加入的事务组不存在:发起者发起分布式事务,参与者方出现异常:attempts to join the non-existent transaction group. 发起者均使用事务:@LcnTransaction(propagation = DTXPropagation.REQUIRED) 参与者均使用事务:@LcnTransaction(propagation = DTXPropagation.SUPPORTS) 问题是偶发性的,但是出现几率比较高,麻烦作者解答一下

![image](https://user-images.githubusercontent.com/54660818/78643469-e3ed1c80-78e6-11ea-8b20-225e91a07941.png) ![image](https://user-images.githubusercontent.com/54660818/78643611-1565e800-78e7-11ea-910c-c8d2bfff4db7.png)

- [ ] 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 ### 2. Environment: - JDK version: -...