RongtongJin commented on a change in pull request #1405: [ISSUE #1397]Add
abnormal recover for dleger modle
URL: https://github.com/apache/rocketmq/pull/1405#discussion_r317427262
##########
File path:
store/src/main/java/org/apache/rocketmq/store/dledger/DLedgerCommitLog.java
##########
@@ -246,13 +242,14 @@ public SelectMappedBufferResult getData(final long
offset, final boolean returnF
if (mappedFile != null) {
int pos = (int) (offset % mappedFileSize);
SelectMmapBufferResult sbr = mappedFile.selectMappedBuffer(pos);
- return convertSbr(truncate(sbr));
+ return convertSbr(truncate(sbr));
}
return null;
}
- private void recover(long maxPhyOffsetOfConsumeQueue) {
+ private void recoverDlegerAbnormally(long maxPhyOffsetOfConsumeQueue) {
Review comment:
Dledger misspelled.
----------------------------------------------------------------
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