eolivelli commented on code in PR #4177:
URL: https://github.com/apache/bookkeeper/pull/4177#discussion_r1461497559
##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieProtoEncoding.java:
##########
@@ -181,6 +204,21 @@ public Object decode(ByteBuf packet)
} else {
return BookieProtocol.ReadRequest.create(version,
ledgerId, entryId, flags, null);
}
+ case BookieProtocol.BATCH_READ_ENTRY:
+ ledgerId = packet.readLong();
+ entryId = packet.readLong();
+ long requestId = packet.readLong();
+ int maxCount = packet.readInt();
+ long maxSize = packet.readLong();
+ if ((flags & BookieProtocol.FLAG_DO_FENCING) ==
BookieProtocol.FLAG_DO_FENCING
Review Comment:
If we move the recovery to use batch reads then this may be useful
--
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]