leimbag commented on issue #9623:
URL: https://github.com/apache/dubbo/issues/9623#issuecomment-1021050623


   大致过程是
   
provider优雅下线后,consumer在接收到下线事件后,会在类org.apache.dubbo.registry.client.ServiceDiscoveryRegistryDirectory的refreshInvoker方法直接返回
   ```
               this.forbidden = false; // Allow accessing
               if (CollectionUtils.isEmpty(invokerUrls)) {
                   logger.warn("Received empty url list, will ignore for 
protection purpose.");
                   return;
               }
   ```
   后续就开始无限循环HeaderExchangeClient了,直到provider重新发布启动
   
   这里的保护是为了保护什么情况?


-- 
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: [email protected]

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