Comments (5)
两个实例是出了namespace以外,其他全一样吗?
from nacos.
是的。 只是在application文件中 修改了nameSpace配置
from nacos.
我用arthus 反编译并加载代码 ,加了日志看了一下。 其他的nameSpace的服务检测在这里都被拦截了 , 我怀疑就是instance没有正常结束。尝试去掉代码块中的return, 再看nacos后台 ,所有nameSpace下的服务状态都符合了预期, 但是不确定这样会引起的其他问题。 希望还是能协助帮找到一个更好的解决方案。
from nacos.
另外 这的TimeOutTask代码里面需不需要调用 instance.finishCheck(); ?
from nacos.
我感觉我发现了问题 Beat对象的toSring 不区分nameSpace
不同nameSpace下如果多线程同时执行 有一个key就会被取消
因为最开始重置了instance开始标志 丢失key以后状态一直没办法重置回去 所以后续的检测其实就一直未进行了
就形成了最上面评论的那个现象 。
我拉取源码进行了toString方法修改 进行验证 最终符合了预期效果。
请协助看一下这样修改有没有其他问题
from nacos.
Related Issues (20)
- Dubbo uses Nacos as the registration center, and the consumer side will not appear in the service list HOT 1
- https://github.com/Foundation-Devices/passport2.git HOT 2
- server: port: 14511 spring: application: name: provider-service main: allow-bean-definition-overriding: true dubbo: application: name: provider-service registry: address: nacos://127.0.0.1:8848 scan: base-packages: com.test.provider.service.impl protocol: name: dubbo port: 15511 HOT 2
- sceinntist HOT 3
- Which SpringBoot or Spring Cloud Alibaba version for Nacos 2.3.2? HOT 2
- nacos cluster.conf add ip:port records issue HOT 5
- Record the cost of ConfigDump in Prometheus.
- The NacosCheckStyle.xml file does not support CheckStyle plugin version 9 and above. HOT 2
- Cleanup strategy for historical configuration is fixed and cannot meet the needs of complex scenarios
- nacos集群 1.x升级到2.0.3,服务拉取配置出现:special characters are not allowed HOT 2
- 关于修改nacos登录密码以后,k8s集群中的其他服务怎么修改nacos的密码 HOT 4
- 管理页面显示的版本和实际部署的服务版本不一致 HOT 1
- 授权接口中的 *:* 字段表示什么含义 HOT 2
- 如何对存在nacos mysql库里的user表里nacos控制台密码进行反解密? HOT 3
- uniform nacos config gray model
- nacos-server-2.1.2.tar.gz 版本出现的问题
- nacos/v1/ns/ops/metrics接口指标mem计算逻辑不对(3.2.3版本)
- 2.0.3升级到2.2.x+ HOT 1
- docker 启动 nacos 失败,报 jdbc 连接不上 HOT 7
- 页面灰度发布接口:取值疑问
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nacos.