You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "likenamehaojie (GitHub)" <gi...@apache.org> on 2019/01/09 08:55:30 UTC

[GitHub] [incubator-dubbo] likenamehaojie commented on issue #2972: 基于zk的注册中心,如果provider在zk上面丢失,那么provider无法感知、consumer无法消费,导致服务不可用

> > provider定时检测在zk是否存活,发现挂了就重新注册?
> > 确切的说是检测自己是否还在zk的路径上,如果不在,那么其他consumer肯定也无法调用这个provider,如果zk没有通知provider zk-reconnect事件,那么这个provider永远无法被调用到。
> > 是的,每个provider根据host、port只需要关注自己是否还在,不需要管别的provider哪怕是同一个version吗,代码我已经写好了、自测可以解决provider丢失的情况,我回头提一下merge,看看能否可行

这个应该是你ZK重启后丢失吧?

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2972 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org