1559924775 commented on code in PR #3612:
URL: https://github.com/apache/bookkeeper/pull/3612#discussion_r1016092713


##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/EntryLogger.java:
##########
@@ -1021,6 +1021,11 @@ public void scanEntryLog(long entryLogId, 
EntryLogScanner scanner) throws IOExce
                 long offset = pos;
                 pos += 4;
                 int entrySize = headerBuffer.readInt();
+                if (entrySize <= 0) {

Review Comment:
   I have modified it.
   
   > Why return directly?
   
   



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

Reply via email to