bobopan opened a new issue #1072:
URL: https://github.com/apache/dubbo-go/issues/1072


   What happened:
   
当配置多个注册中心,在配置注册中心优先级的时候,preferred=true,如果优先级的这个注册中心的节点全部下了后,正常应该直接调用其他注册中心对应的节点,但是目前,会等待前一个注册中心最后一个节点的session,超时后才会使用其他注册中心的节点
   
   What you expected to happen:
   配置优先级的节点全部宕机后,快速使用正常注册中心的节点
   
   How to reproduce it (as minimally and precisely as possible):
   dubbo go: 1.5.5
   
   consumer配置
   registries:
     "nacos1":
       protocol: "nacos"
       timeout: "1s"
       address: "127.0.0.1:8848"
     "nacos2":
       protocol: "nacos"
       timeout: "1s"
       address: "127.0.0.2:8848"
       preferred: true
   
   将127.0.0.2的节点全部去掉后,会先重试一次127.0.0.2的节点,在去127.0.0.1的节点


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

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to