You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "JadeYeung (via GitHub)" <gi...@apache.org> on 2023/04/26 13:30:27 UTC

[GitHub] [dubbo] JadeYeung commented on issue #10863: dubbo的提供者服务所在的节点直接意外关机了,原来的服务提供者虽然剔除了但消费者仍然在调用原来的服务提供者,这是怎么回事啊,求大佬解答。

JadeYeung commented on issue #10863:
URL: https://github.com/apache/dubbo/issues/10863#issuecomment-1523428097

   > dubbo 2.7 的版本中可能存在 zk 连接断了的情况,这个时候 consumer 是不会再刷新数据的
   
   我们也遇到类似的,但跟provider没有太大关系。
   线上环境,provider已经尝试过重启,且元数据已经发生变更,但是consumer端依旧持有旧数据的invoker。
   通过Zookeeper的watcher可以看到consumer对于这个服务的watch事件已经丢失,没有办法再收到zk关于这个服务的数据变更了,最终只能重启consumer。
   一直没找到丢失的原因,没有错误日志,最后只能定性为是网络问题导致consumer在收到一次监听变更后,再建立监听时数据包丢失,导致监听丢失


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org