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:01:18 UTC

[GitHub] [rocketmq] steven-wal opened a new issue, #4799: The brokerRole not work

steven-wal opened a new issue, #4799:
URL: https://github.com/apache/rocketmq/issues/4799

   Hi community, I have a question, but I can't find the place. 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.


-- 
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] steven-wal closed issue #4799: The brokerRole is always SYNC_MASTER when enableControllerMode=true

Posted by GitBox <gi...@apache.org>.
steven-wal closed issue #4799: The brokerRole is always SYNC_MASTER when enableControllerMode=true
URL: https://github.com/apache/rocketmq/issues/4799


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


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

Posted by GitBox <gi...@apache.org>.
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


[GitHub] [rocketmq] steven-wal commented on issue #4799: The brokerRole is always SYNC_MASTER when enableControllerMode=true

Posted by GitBox <gi...@apache.org>.
steven-wal commented on issue #4799:
URL: https://github.com/apache/rocketmq/issues/4799#issuecomment-1209202002

   I will read the RIP more details. Respect your patient answers.


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