zymap commented on code in PR #3842:
URL: https://github.com/apache/bookkeeper/pull/3842#discussion_r1127639601
##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/ReadEntryProcessor.java:
##########
@@ -122,6 +122,7 @@ protected void processPacket() {
if (LOG.isTraceEnabled()) {
LOG.trace("Read entry rc = {} for {}", errorCode, request);
}
+ request.recycle();
Review Comment:
sendResponse still uses request. Maybe we should recycle at the
ReadEntryProcessor#recycle()?
--
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]