You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2023/01/17 02:18:13 UTC

[GitHub] [rocketmq] zhangleiouc opened a new issue, #5894: Does the method onChannelDestroy called in function scanNotActiveBroker unnecessary

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: commits-unsubscribe@rocketmq.apache.org.apache.org

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


Re: [I] Does the method onChannelDestroy called in function scanNotActiveBroker unnecessary [rocketmq]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5894:
URL: https://github.com/apache/rocketmq/issues/5894#issuecomment-1897522677

   This issue is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs.


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


Re: [I] Does the method onChannelDestroy called in function scanNotActiveBroker unnecessary [rocketmq]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #5894: Does the method onChannelDestroy called in function scanNotActiveBroker unnecessary
URL: https://github.com/apache/rocketmq/issues/5894


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


Re: [I] Does the method onChannelDestroy called in function scanNotActiveBroker unnecessary [rocketmq]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5894:
URL: https://github.com/apache/rocketmq/issues/5894#issuecomment-1902454835

   This issue was closed because it has been inactive for 3 days since being marked as stale.


-- 
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: commits-unsubscribe@rocketmq.apache.org

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