Giter Site home page Giter Site logo

Comments (5)

funky-eyes avatar funky-eyes commented on May 25, 2024

用的clusterip?或者svc 域名?
Use clusterip? Or svc domain name?

from incubator-seata.

yearnxiao avatar yearnxiao commented on May 25, 2024

用的clusterip?或者svc 域名? Use clusterip? Or svc domain name?

用的就是svc域名,但客户端调用时是去nacos注册中心拉取所有sever的pod ip来进行业务调用的

from incubator-seata.

funky-eyes avatar funky-eyes commented on May 25, 2024

那你应该遇到的是1.5以后得bug,这个bug导致优雅下线失效了,这个问题将在1.8.1和2.1上被修复。
原因是由于seata-server有一个10s自检的的线程,它会将所有从注册中心的连接进行检查,检查后才放入可使用列表,也就是这个列表的时间一直是滞后注册中心10s,然后seata-server的优雅下线时的等待时间只有3s,导致请求时拿到了已经下线的seata-server地址引发的这个问题。
The bug you encountered, which affects graceful shutdown, is expected to be fixed in versions 1.8.1 and 2.1. This issue arises from a bug introduced after version 1.5.

The root cause lies in a 10-second self-checking thread in the Seata server. This thread verifies all connections from the registry center and only adds them to the available list after the check. Consequently, the time in this list lags behind the registry center by 10 seconds. The graceful shutdown feature of Seata server has a wait time of only 3 seconds, leading to requests receiving the address of the Seata server, which has already been taken offline, thereby causing the issue.

from incubator-seata.

funky-eyes avatar funky-eyes commented on May 25, 2024

#6143

from incubator-seata.

yearnxiao avatar yearnxiao commented on May 25, 2024

#6143

好的,谢谢!我们再关注下后续版本。

from incubator-seata.

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.