hangc0276 commented on code in PR #4135:
URL: https://github.com/apache/bookkeeper/pull/4135#discussion_r1419891962


##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/storage/directentrylogger/DirectEntryLogger.java:
##########
@@ -244,14 +244,15 @@ private ByteBuf internalReadEntry(long ledgerId, long 
entryId, long location, bo
 
         long start = System.nanoTime();
         LogReader reader = getReader(logId);
-
+        ByteBuf buf = null;

Review Comment:
   <img width="919" alt="image" 
src="https://github.com/apache/bookkeeper/assets/5436568/e3826615-5881-4341-bcee-807126403008";>
   We don't release it in the catch code block



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