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:
[email protected]


With regards,
Apache Git Services

Reply via email to