Skip to content

Commit f51f584

Browse files
horizonzyhangc0276
authored andcommitted
Fix the completionObjects leak problem. (#4285)
(cherry picked from commit 772b162)
1 parent 8cc815e commit f51f584

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/PerChannelBookieClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,6 +1162,7 @@ private void writeAndFlush(final Channel channel,
11621162
}
11631163
} else {
11641164
nettyOpLogger.registerFailedEvent(MathUtils.elapsedNanos(startTime), TimeUnit.NANOSECONDS);
1165+
errorOut(key);
11651166
}
11661167
} finally {
11671168
if (cleanupActionAfterWrite != null) {

0 commit comments

Comments
 (0)