You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/10/25 09:37:01 UTC

[GitHub] [dubbo] FinalVersion edited a comment on issue #8538: dubbo多注册中心的可用性问题

FinalVersion edited a comment on issue #8538:
URL: https://github.com/apache/dubbo/issues/8538#issuecomment-950724551


   > 现在的流程是这样的
   > 
   > 1. 启动的时候其中一个注册中心不可用之后就会抛出异常(取决于注册中心的 client 是否会上报异常),所以需要加上`check=false`
   > 2. 单独在 zk 上加 `check=false` 是因为 `dubbo.registry.check=false` 配置不生效,所以你需要在 multiple:// 上的每个注册中心都加上 `check=false`,提的 PR 就是解决的这个问题
   > 3. 在服务启动完成之后,有问题的注册中心从故障到正常,MultipleRegistry 并没有重新注册的过程
   
   1. 这种方式要求用户修改使用方式,且无法实现所有注册中心不可用的情况下启动报错失败的能力,只能算是部分场景下的一种workaround吧。
   2. 前面`MultipleRegistry应补注册、发现`的说法不太准确,需求是能实现补注册/发现,至于是不是MultipleRegistry来实现,是实现层面才需要思考的问题。据我所知,FailbackRegistry应该已经实现了补注册/发现的能力了


-- 
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