GithubHelp home page GithubHelp logo

Comments (5)

KomachiSion avatar KomachiSion commented on July 19, 2024

两个实例是出了namespace以外,其他全一样吗?

from nacos.

chen10038 avatar chen10038 commented on July 19, 2024

是的。 只是在application文件中 修改了nameSpace配置

from nacos.

chen10038 avatar chen10038 commented on July 19, 2024

image

我用arthus 反编译并加载代码 ,加了日志看了一下。 其他的nameSpace的服务检测在这里都被拦截了 , 我怀疑就是instance没有正常结束。尝试去掉代码块中的return, 再看nacos后台 ,所有nameSpace下的服务状态都符合了预期, 但是不确定这样会引起的其他问题。 希望还是能协助帮找到一个更好的解决方案。

from nacos.

chen10038 avatar chen10038 commented on July 19, 2024

image

另外 这的TimeOutTask代码里面需不需要调用 instance.finishCheck(); ?

from nacos.

chen10038 avatar chen10038 commented on July 19, 2024

我感觉我发现了问题 Beat对象的toSring 不区分nameSpace
image

image
不同nameSpace下如果多线程同时执行 有一个key就会被取消

image

因为最开始重置了instance开始标志 丢失key以后状态一直没办法重置回去 所以后续的检测其实就一直未进行了
就形成了最上面评论的那个现象 。

我拉取源码进行了toString方法修改 进行验证 最终符合了预期效果。

请协助看一下这样修改有没有其他问题

from nacos.

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.