This is an automated email from the ASF dual-hosted git repository.

chenhang pushed a commit to branch branch-4.16
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git

commit f51f5842ce9b5219d2aaca77fd6576ec34cc90ff
Author: Yan Zhao <[email protected]>
AuthorDate: Tue Jul 9 09:44:45 2024 +0800

    Fix the completionObjects leak problem. (#4285)
    
    (cherry picked from commit 772b162e4a610918403e45fbb3ad358dd6a01ad3)
---
 .../main/java/org/apache/bookkeeper/proto/PerChannelBookieClient.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/PerChannelBookieClient.java
 
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/PerChannelBookieClient.java
index 149f97fc28..a3475533f1 100644
--- 
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/PerChannelBookieClient.java
+++ 
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/PerChannelBookieClient.java
@@ -1162,6 +1162,7 @@ public class PerChannelBookieClient extends 
ChannelInboundHandlerAdapter {
                         }
                     } else {
                         
nettyOpLogger.registerFailedEvent(MathUtils.elapsedNanos(startTime), 
TimeUnit.NANOSECONDS);
+                        errorOut(key);
                     }
                 } finally {
                     if (cleanupActionAfterWrite != null) {

Reply via email to