Coder Social home page Coder Social logo

Comments (5)

WillemJiang avatar WillemJiang commented on June 16, 2024

There is something wrong when Alpha try to call the cancel or confirm method.
Current Omega doesn't catch the exception and it breaks the callback stream connection, then the cancelTransaction won't be invoked.

[ XNIO-2 task-6] c.i.z.m.web.aop.logging.LoggingAspect : Exception in com.ifelc.z.microservice.service.yiwen.settlement.service.impl.WithdrawServiceImpl.testTransaction() with cause = 'NULL' and exception = 'Error!'

java.lang.RuntimeException: Error!
at com.ifelc.z.microservice.service.yiwen.settlement.service.impl.WithdrawServiceImpl.testTransaction(WithdrawServiceImpl.java:102)
at

We are planing to fix this kind of corn case next week.

from servicecomb-pack.

WillemJiang avatar WillemJiang commented on June 16, 2024

Sorry, after went through the issue again, I found my laster answer is not related to this issue.
The Client side exception is OK. As the subtransaction is not succeed, Omega doesn't need to call the compensation method of this transaction.
If there is another sub transaction which is called succeed, Omega need to call the compensation method of this transaction.

from servicecomb-pack.

minlywang avatar minlywang commented on June 16, 2024

Yes,the client side didn't has a problem.
How to handle server side error "io.netty.handler.codec.http2.Http2Exception: Unexpected HTTP/1.x request: GET /**" ?

from servicecomb-pack.

WillemJiang avatar WillemJiang commented on June 16, 2024

Hi ,
I guess you just try to access the saga event from the restful API.
As you may know, Alpha has two ports to provide service, one is for grpc, the other is restful service.
It looks like you just access the grpc service with HTTP GET request.

from servicecomb-pack.

minlywang avatar minlywang commented on June 16, 2024

I got it

from servicecomb-pack.

Related Issues (20)

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.