You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2022/10/24 01:23:43 UTC

[GitHub] [bookkeeper] merlimat commented on a diff in pull request #3560: Avoid extra buffer to prepend frame size

merlimat commented on code in PR #3560:
URL: https://github.com/apache/bookkeeper/pull/3560#discussion_r1002813842


##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieProtocol.java:
##########
@@ -481,12 +482,14 @@ public ReferenceCounted retain(int increment) {
 
         @Override
         public ReferenceCounted touch() {
-            return data.touch();

Review Comment:
   When using the leak checker, this was causing the `ReadResponse` to get converted into an instrumented buffer, and the serialization was completely skipped.



-- 
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: commits-unsubscribe@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org