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/09 03:47:23 UTC

[GitHub] [rocketmq] RongtongJin commented on issue #4799: The brokerRole not work

RongtongJin commented on issue #4799:
URL: https://github.com/apache/rocketmq/issues/4799#issuecomment-1208877081

   > Hi community, I have a question, but I can't find the place to ask. it's possible with `GitHub Discussions`? The question is: when with `enableControllerMode`, the brokerRole property(ASYNC_MASTER or SYNC_MASTER) in broker's conf, it's not working anymore?
   > 
   > https://github.com/apache/rocketmq/blob/ce274265db8af73e28624ecc1fc98cc984658844/broker/src/main/java/org/apache/rocketmq/broker/controller/ReplicasManager.java#L186
   > 
   > 
   > As shown above, The master always SYNC_MASTER.
   
   Yes, when enableControllerMode = true, the master role will be fixed to SYNC_MASTER, and follow the replica management mechanism of SyncStateSet. For details, please refer to https://shimo.im/docs/N2A1Mz9QZltQZoAD#anchor-04gE
   
   


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