You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/08/21 07:57:43 UTC

[GitHub] [rocketmq] mxsm opened a new issue, #4857: Broker can't register to controller again in some case

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

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


[GitHub] [rocketmq] RongtongJin closed issue #4857: Broker can't auto register to controller again in some case

Posted by GitBox <gi...@apache.org>.
RongtongJin closed issue #4857: Broker can't auto register to controller again in some case
URL: https://github.com/apache/rocketmq/issues/4857


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

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