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 10:51:45 UTC

[GitHub] [rocketmq] steven-wal opened a new issue, #4800: Should need change broker role immediately when broker inactive

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

   In a distributed environment, the network partitions always sad. If the master broker register to 3 nameserver nodes, sometimes it has a network partion probelm with the leader namesrv, but send heartbeat  normally with other namesrv nodes. In such cases, we need change broker role immediately? Or should we check the broker status on other namesrvs?
   https://github.com/apache/rocketmq/blob/ce274265db8af73e28624ecc1fc98cc984658844/controller/src/main/java/org/apache/rocketmq/controller/ControllerManager.java#L106


-- 
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] github-actions[bot] commented on issue #4800: Should need change broker role immediately when broker inactive?

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4800:
URL: https://github.com/apache/rocketmq/issues/4800#issuecomment-1694527607

   This issue was closed because it has been inactive for 3 days since being marked as stale.


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

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


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

Posted by GitBox <gi...@apache.org>.
lizhanhui commented on issue #4800:
URL: https://github.com/apache/rocketmq/issues/4800#issuecomment-1211496107

   This looks like an already well-defined case in terms of Paxos, Raft, and other well-known consensus algorithms. 


-- 
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] lizhimins commented on issue #4800: Should need change broker role immediately when broker inactive?

Posted by GitBox <gi...@apache.org>.
lizhimins commented on issue #4800:
URL: https://github.com/apache/rocketmq/issues/4800#issuecomment-1221888473

   It is recommended to use raft for service discovery due to it enforces a stronger degree of coherency to reduce the number of states that must be considered.


-- 
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 #4800: Should need change broker role immediately when broker inactive?

Posted by GitBox <gi...@apache.org>.
RongtongJin commented on issue #4800:
URL: https://github.com/apache/rocketmq/issues/4800#issuecomment-1210053781

   @Stevenzall This is a good issue, How to solve the unnecessary handover jitter under the asymmetric network partition. In the current implementation, the broker role will be changed immediately if network partition occurs between the master broker and the leader controller. Do you are interested in proposing a more detailed plan to solve this problem?


-- 
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] github-actions[bot] commented on issue #4800: Should need change broker role immediately when broker inactive?

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4800:
URL: https://github.com/apache/rocketmq/issues/4800#issuecomment-1689076862

   This issue is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs.


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

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


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

Posted by GitBox <gi...@apache.org>.
Stevenzall commented on issue #4800:
URL: https://github.com/apache/rocketmq/issues/4800#issuecomment-1211487765

   @RongtongJin I'm just starting to get familiar with the project. If I have a good idea, i will give a little proposing, really happy contributting to community.


-- 
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] TheR1sing3un commented on issue #4800: Should need change broker role immediately when broker inactive?

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


[GitHub] [rocketmq] github-actions[bot] closed issue #4800: Should need change broker role immediately when broker inactive?

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #4800: Should need change broker role immediately when broker inactive?
URL: https://github.com/apache/rocketmq/issues/4800


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

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