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/03/09 09:50:16 UTC

[GitHub] [rocketmq] TerrellChen opened a new issue #1830: Question about DLedgerRoleChangeHandler

TerrellChen opened a new issue #1830: Question about DLedgerRoleChangeHandler
URL: https://github.com/apache/rocketmq/issues/1830
 
 
   In org.apache.rocketmq.broker.dledger.DLedgerRoleChangeHandler line 74, if dledgerEndIndex is behind committedIndex, is there any mechanism to update dledgerEndIndex and make sure it won't fall into this infinite loop?
   Line 74 is this if statement: 
   if (dLegerServer.getdLedgerStore().getLedgerEndIndex() == dLegerServer.getdLedgerStore().getCommittedIndex()
                                       && messageStore.dispatchBehindBytes() == 0) {
                                       break;
                                   }

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


With regards,
Apache Git Services