horizonzy commented on code in PR #4713:
URL: https://github.com/apache/bookkeeper/pull/4713#discussion_r2870400871


##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/PendingWriteLacOp.java:
##########
@@ -112,6 +113,8 @@ public void writeLacComplete(int rc, long ledgerId, 
BookieId addr, Object ctx) {
 
         if (receivedResponseSet.isEmpty()){
             completed = true;
+            ReferenceCountUtil.release(toSend);

Review Comment:
   I have a question about this case. If all the server rc is OK, the code will 
return at line_108, this logic won't work. Right?



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