athanatos commented on a change in pull request #1819: ISSUE-1770: Add local
checker for Sorted/InterleavedLedgerStorage
URL: https://github.com/apache/bookkeeper/pull/1819#discussion_r239955074
##########
File path:
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/IndexInMemPageMgr.java
##########
@@ -318,7 +308,11 @@ public void onSetInUse(LedgerEntryPage lep) {
@Override
public void onResetInUse(LedgerEntryPage lep) {
- addToCleanPagesList(lep);
+ if (!lep.isDeleted()) {
Review comment:
Not really, the isDeleted() concept came in with this patch. It's there to
deal with the inevitability of the consistency checker holding an LEP reference
as the corresponding ledger is deleted.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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