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/15 09:08:59 UTC

[GitHub] [rocketmq] TheR1sing3un commented on issue #4800: Should need change broker role immediately when broker inactive?

TheR1sing3un commented on issue #4800:
URL: https://github.com/apache/rocketmq/issues/4800#issuecomment-1214783654

   IMO, in this case: 
   
   - three nameSrvs with controller mode
     - controller-master
     - controller-follower-1
     - controller-follower-2
   - three master/slave mode brokers
     - broker-master
     - broker-slave1
     - broker-slave2
   
   occurs network partition like this:
   ![image](https://user-images.githubusercontent.com/87409330/184607149-71c6f6b1-723b-48ca-8918-c72c7eeeb30b.png)
   
   In this case, broker-master can't connect to controller-master becasue of the network partition. But it stay in same partition with brokers and controller-follower1 and controller-follower2. So when the controller-master find that broker-master is inavtive. It will propose an ElectMasterEvent, however the controller-master also can't connet to his followers, so controller-master fali to append this event by dledger(raft). So in this case, the master in brokers will not change!


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