zhangleiouc opened a new issue, #5894:
URL: https://github.com/apache/rocketmq/issues/5894

   
   **QUESTION**
   Model: Namesrv 
   Class: RouteInfoManager
   Method: scanNotActiveBroker 
   
   My question is the RouteInfoManager.scanNotActiveBroker( line 770 ) 
RemotingHelper.closeChannel(next.getValue().getChannel()); 
   this will trigger the onChannelClose event in class 
BrokerHousekeepingService.  
   And this will exe 
this.namesrvController.getRouteInfoManager().onChannelDestroy(remoteAddr, 
channel);
   why in the RouteInfoManager.scanNotActiveBroker  call the 
    this.onChannelDestroy(next.getKey(), next.getValue().getChannel()); 
   again
   


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

Reply via email to