You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by sh...@apache.org on 2024/07/09 01:44:51 UTC

(bookkeeper) branch master updated: Fix the completionObjects leak problem. (#4285)

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

shoothzj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 772b162e4a Fix the completionObjects leak problem. (#4285)
772b162e4a is described below

commit 772b162e4a610918403e45fbb3ad358dd6a01ad3
Author: Yan Zhao <ho...@apache.org>
AuthorDate: Tue Jul 9 09:44:45 2024 +0800

    Fix the completionObjects leak problem. (#4285)
---
 .../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 1eefda45e0..a77be0ca3f 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
@@ -1206,6 +1206,7 @@ public class PerChannelBookieClient extends ChannelInboundHandlerAdapter {
                         }
                     } else {
                         nettyOpLogger.registerFailedEvent(MathUtils.elapsedNanos(startTime), TimeUnit.NANOSECONDS);
+                        errorOut(key);
                     }
                 } finally {
                     if (cleanupActionAfterWrite != null) {