You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2021/05/07 22:18:49 UTC

[GitHub] [bookkeeper] merlimat commented on a change in pull request #2649: Exception in BK GC with corrupted data files

merlimat commented on a change in pull request #2649:
URL: https://github.com/apache/bookkeeper/pull/2649#discussion_r628572443



##########
File path: bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/EntryLogger.java
##########
@@ -1009,6 +1009,9 @@ public void scanEntryLog(long entryLogId, EntryLogScanner scanner) throws IOExce
                     continue;
                 }
                 // read the entry
+                if (entrySize == 0) {

Review comment:
       Yes, it's probably better to log it when it happens




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