hangc0276 commented on code in PR #3197:
URL: https://github.com/apache/bookkeeper/pull/3197#discussion_r859320293
##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/SortedLedgerStorage.java:
##########
@@ -260,7 +261,8 @@ public void cancelWaitForLastAddConfirmedUpdate(long
ledgerId,
@Override
public void checkpoint(final Checkpoint checkpoint) throws IOException {
long numBytesFlushed = memTable.flush(this, checkpoint);
-
interleavedLedgerStorage.getEntryLogger().prepareSortedLedgerStorageCheckpoint(numBytesFlushed);
+ ((DefaultEntryLogger) interleavedLedgerStorage.getEntryLogger())
Review Comment:
We are using `DefaultEntryLogger` to initiate InterleavedLedgerStorage
entryLogger instance. So we can convert it into `DefaultEntryLogger` here.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]