Giter Club home page Giter Club logo

tx-lcn's Introduction

Hi there 👋

Hi, Welcome to my github page. I am a developer.

welcome 😄

tx-lcn's People

Contributors

xlorne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tx-lcn's Issues

看了你的论文。有几个事务不严谨的地方,麻烦大佬解答一下

问题1:
1,开头就说Lock资源,但是读完整个文档,也不知道到底lock了什么。
2,如果没有lock资源,如果部分服务commit成功,部分失败,无法保证其他代码对该资源的修改。即使人工干预也无法补偿。如sql。update t_test name = 2 where age > 20; 当其他代码修改了age属性,人工也无法补偿。

找不到compenstateDataSource

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)

ddee

修改了底层的包结构和tx-manager打包方式

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]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.