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 2020/12/29 09:00:07 UTC

[GitHub] [rocketmq] iamqq23ue opened a new issue #2528: brokerRole=SYNC_MASTER is

iamqq23ue opened a new issue #2528:
URL: https://github.com/apache/rocketmq/issues/2528


   When I set brokerRole=SYNC_MASTER, send_ok should be returned after both master and slave have written. But if I start the master first, send messages for a long time, and then start the slave, it will take a while for the master to synchronize. I can still send messages successfully when the master and slave are out of sync. At this time, I should not be satisfied with synchronous replication. why?


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

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



[GitHub] [rocketmq] RongtongJin commented on issue #2528: brokerRole=SYNC_MASTER is invalid

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


   In this case, there is a big gap between the master and slave, and the client can still send, but it will return slave_ NOT_ AVAILABLE.


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

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



[GitHub] [rocketmq] RongtongJin closed issue #2528: brokerRole=SYNC_MASTER is invalid

Posted by GitBox <gi...@apache.org>.
RongtongJin closed issue #2528:
URL: https://github.com/apache/rocketmq/issues/2528


   


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

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



[GitHub] [rocketmq] iamqq23ue commented on issue #2528: brokerRole=SYNC_MASTER is invalid

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


   > In this case, there is a big gap between the master and slave, and the client can still send, but it will return slave_ NOT_ AVAILABLE.
   
   Since no matter whether you configure async_master or sync_master, you can send successfully(even return slave_ NOT_ AVAILABLE.)  without waiting for the completion of slave synchronization, so what is the use of setting 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.

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