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

   ReplicasManager#registerBrokerToController method is used in three places
   
![image](https://user-images.githubusercontent.com/15797831/185781180-bb8a4a0b-17bc-4b5c-8f60-b4ecae18c1ad.png)
   
![image](https://user-images.githubusercontent.com/15797831/185781194-d967ebde-bb6b-45fd-9642-ae6447547ea1.png)
   as following picture:
   
![image](https://user-images.githubusercontent.com/15797831/185781318-10d3bd72-185c-4e7d-85be-5661330ab78a.png)
   when throw exception ReplicasManager#registerBrokerToController  will not to 
execute.
   in controller mode, ReplicasInfoManager#getReplicaInfo as following 
   
![image](https://user-images.githubusercontent.com/15797831/185781419-c65c0cfe-62ce-4b93-a5c1-0e0e46287fd3.png)
   if `isContainsBroker(brokerName) ` result return false then return result 
code is ResponseCode.CONTROLLER_INVALID_REQUEST,
   In this case, broker should register to controller 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