Hi, Welcome to my github page. I am a developer.
xlorne / tx-lcn Goto Github PK
View Code? Open in Web Editor NEWLCN分布式事务框架v3.0
Home Page: https://www.txlcn.org
License: Apache License 2.0
LCN分布式事务框架v3.0
Home Page: https://www.txlcn.org
License: Apache License 2.0
能够支持mysql和mongodb?
现在项目中,我的单个微服务,是操作多个微服务的,应该怎么解决
我同时使用mybatis和hibernate,hibernate事务并没有回归
spring 使用@EnableScheduling后lcn事务管理器注册不上?
问题1:
1,开头就说Lock资源,但是读完整个文档,也不知道到底lock了什么。
2,如果没有lock资源,如果部分服务commit成功,部分失败,无法保证其他代码对该资源的修改。即使人工干预也无法补偿。如sql。update t_test name = 2 where age > 20; 当其他代码修改了age属性,人工也无法补偿。
高并发场景,大量连接未真正释放,跟xa协议一样,浪费资源,能不能参考阿里的gts,把这个问题解决了,他们是在本地事务提交前把原始数据记log,然后真正释放资源,需要回滚时用记录的log恢复数据。只是一个建议
相较之前版本有变动么?上次fork的不是这个版本的啊,上次的版本star和fork都好几百了
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdbcTransactionRecoverRepository': Unsatisfied dependency expressed through field 'compensateDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'compensateDataSource': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'compenstateDataSource' available
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject (AutowiredAnnotationBeanPostProcessor.java:588)
===============================================================
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'compensateDataSource': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'compenstateDataSource' available
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues (CommonAnnotationBeanPostProcessor.java:321)
修改了底层的包结构和tx-manager打包方式
2017-11-01 16:18:56.863 ERROR 2216 --- [ main] com.netflix.discovery.D
iscoveryClient : DiscoveryClient_TX-MANAGER/PC:tx-manager:8761 - was unab
le to refresh its cache! status = Cannot execute request on any known server
com.netflix.discovery.shared.transport.TransportException: Cannot execute reques
t on any known server
at com.netflix.discovery.shared.transport.decorator.RetryableEurekaHttpC
lient.execute(RetryableEurekaHttpClient.java:111) ~[eureka-client-1.6.2.jar!/:1.
6.2]
at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDeco
rator.getApplications(EurekaHttpClientDecorator.java:134) ~[eureka-client-1.6.2.
jar!/:1.6.2]
at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDeco
rator$6.execute(EurekaHttpClientDecorator.java:137) ~[eureka-client-1.6.2.jar!/:
1.6.2]
at com.netflix.discovery.shared.transport.decorator.SessionedEurekaHttpC
lient.execute(SessionedEurekaHttpClient.java:77) ~[eureka-client-1.6.2.jar!/:1.6
.2]
at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDeco
rator.getApplications(EurekaHttpClientDecorator.java:134) ~[eureka-client-1.6.2.
jar!/:1.6.2]
at com.netflix.discovery.DiscoveryClient.getAndStoreFullRegistry(Discove
ryClient.java:1013) [eureka-client-1.6.2.jar!/:1.6.2]
at com.netflix.discovery.DiscoveryClient.fetchRegistry(DiscoveryClient.j
ava:927) [eureka-client-1.6.2.jar!/:1.6.2]
at com.netflix.discovery.DiscoveryClient.(DiscoveryClient.java:408
) [eureka-client-1.6.2.jar!/:1.6.2]
Can't the LCN transaction manager register after spring uses @enable Scheduling?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.