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

为了控制事务提交时间,将从最终一致性跨越成为强一致性。

help wanted
question
features

2020-07-02 完成任务 1、TC模块与TM模块的三阶段控制 创建 加入 通知 2、实现了事务日志的记录。 3、RPC模块增加了RestTemplate与Feign的实现。 4、移除了uml的依赖。 5、单元测试定义

## TC集群环境下,分布式事务回调用,会路由到非发起方机器上去 [参考](https://github.com/codingapi/tx-lcn/issues/296) ### TM端 同样采用替换源码的方式,复制出源码到同包名(自己新建)下 1. `com.codingapi.txlcn.tm.txmsg.transaction.JoinGroupExecuteService.java` 把rpcClient.getAppName改成rpcClient.getModId ``` transactionManager.join(dtxContext, joinGroupParams.getUnitId(), joinGroupParams.getUnitType(), rpcClient.getModId(transactionCmd.getRemoteKey()), joinGroupParams.getTransactionState()); ``` 2. `com.codingapi.txlcn.txmsg.netty.impl.NettyRpcClient.java` 及`com.codingapi.txlcn.txmsg.RpcClient.java` 添加方法 ``` @Override public String getModId(String remoteKey) { return SocketManager.getInstance().getModuleId(remoteKey); }...

## Why you need it? Is your feature request related to a problem? Please describe in details ## How it could be? A clear and concise description of what you...

在收到可以提交事务的情况下,进行提交事务,此时提交过程中,一部分事务提交成功,一部分事务提交失败,这种情况,是怎么处理的呀?

目前框架的测试是依托demo的方式做的测试,但是这样的测试对环境的依赖性比较大。需要编写对框架层面的单元测试。以确保业务的准确性。

help wanted

Caused by: java.sql.SQLException: java.sql.SQLException: 列名无效 Query: SELECT ACT_GE_PROPERTY.REV_, ACT_GE_PROPERTY.VALUE_, ACT_GE_PROPERTY.NAME_ FROM ACT_GE_PROPERTY WHERE NAME_ = 'next.dbid' AND REV_ = 237 Parameters: [] at com.codingapi.txlcn.tc.core.transaction.txc.analy.TxcSqlExecuteInterceptor.preUpdate(TxcSqlExecuteInterceptor.java:98) at com.codingapi.txlcn.tc.core.transaction.txc.resource.TxcJdbcEventListener.onBeforeAnyExecute(TxcJdbcEventListener.java:63) at com.codingapi.txlcn.tc.support.p6spy.event.P6spyJdbcEventListener.onBeforeExecute(P6spyJdbcEventListener.java:77) at com.codingapi.txlcn.tc.core.transaction.txc.resource.CompoundJdbcEventListener.onBeforeExecute(CompoundJdbcEventListener.java:87)...

- [ ] 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 在TM服务器遭遇了停电等影响长时间断开后重启。各服务遇见此问题。 ### 2. Environment: - JDK version:...

TC端 我有个服务是集群,单机一台的情况下一切正常,集群情况下,事务不提交!因此和其他服务数据不一致!

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