Comments (10)
from tx-lcn.
我现在有一个业务,需要在新建用户后进行其它的用户相关信息的保存,是两个不同的业务实体和spring boot
服务 ,后面的用户信息关联了保存的用户ID,使用的是JPA, 我看到tx的日志是在commit,但是会一直insert user
最后报错,,
from tx-lcn.
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction
from tx-lcn.
lcn transaction over, res -> groupId:jOlZWY7E and state is rollback
from tx-lcn.
是不是出现了两个模块操作同一行数据的情况了?
from tx-lcn.
LCNTransactionAspectSupport. currentTransactionStatus(). setRollbackOnly();
from tx-lcn.
事务手动回滚
from tx-lcn.
C是一个公共服务,A服务和B服务都引用了他 A服务新建一条数据,B服务中将这个条数据的ID设置为关联关系,在C服务中保存 就不行 会保存 而且是多次循环插入
from tx-lcn.
C服务不是web服务.没有配置数据源
from tx-lcn.
C 是操作数据源的服务?
from tx-lcn.
Related Issues (20)
- io.netty.handler.codec.DecoderException: com.codingapi.txlcn.common.exception.SerializerException: java.lang.ClassNotFoundException: org.springframework.orm.jpa.JpaSystemException HOT 1
- tx-manager多节点部署 HOT 1
- tx-lcn.primary-key-package HOT 2
- tm服务重启后,client端不能自动重连 HOT 2
- 5.0.2 A->B->C,如果B应用执行时间超过1秒,就直接异常了。如何修改这个最大等待时间? HOT 1
- TX-LCN是否支持mysql多数据源(mysql一主一从)
- openfeign调用,事务不能传递? HOT 5
- [5.0.2] LCN TM 通知 TC 失败导致数据不一致 HOT 17
- [5.0.2] LCN TM 通知 TC 失败导致数据不一致
- 当下游服务出现异常,下游服务catch了异常那上游服务的事务基于LCN会回滚吗
- 在跨服务调用的时候,经常会偶发性报这个错。 HOT 1
- SpringCloud 集群(tx-lcn.springcloud.loadbalance.enabled=true)
- 请问作者这个支持达梦数据库?
- TXC模式,flowable工作流的TaskService.complete(),解析的逆向sql执行失败
- TM启动正常,但日志总redis命令执行错误! HOT 2
- Redis在Lcn中的使用如何保证跟数据库中事务组数据的一致性,如果redis节点宕机,怎么保证事务组的事务提交和回滚正常?
- tx-Icn现在不维护了吗 HOT 1
- 集成Caused by: java.sql.SQLFeatureNotSupportedException: getCatalog HOT 1
- 监听事务提交后执行 HOT 1
- JDK 需要升级到17 以上
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tx-lcn.