dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

dubbo服务自省问题

Open chumendeshijie opened this issue 5 years ago • 2 comments

环境 spring.cloud.alibaba.version 2.2.3.RELEASE dubbo 2.7.8 nacos 1.3.3 jdk 1.8

有两个模块 order模块 服务提供者 admin模块 订阅了order服务

问题 在order模块实例重启的时候 admin模块根据nacos相应事件要去更新相应服务信息 此时 order模块实例在nacos服务端已经是个健康的实例 但是admin模块在更新的过程中,会拿到dubbo元数据信息与该实例进行tcp通信 在通信的过程中 admin模块日志中有概率出现如下错误 image

chumendeshijie avatar May 27 '21 09:05 chumendeshijie

admin应该读取的还是本机缓存的order的信息,可以看下Cache部分,自己实现一下缓存清理。

justein avatar May 31 '21 03:05 justein

Try to solve it with the above answer, if it has not been solved, you can reopen the issues.

CrazyHZM avatar Sep 26 '21 09:09 CrazyHZM