horizonzy commented on code in PR #4188:
URL: https://github.com/apache/bookkeeper/pull/4188#discussion_r1467183775
##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieProtocol.java:
##########
@@ -562,6 +562,10 @@ class BatchedReadResponse extends Response implements
ReferenceCounted {
final long requestId;
final ByteBufList data;
+ BatchedReadResponse(byte protocolVersion, int errorCode, long
ledgerId, long entryId, long requestId) {
+ this(protocolVersion, errorCode, ledgerId, entryId, requestId,
ByteBufList.get());
Review Comment:
Sure, the error BatchedReadResponse will also be released.
--
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]