You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/01/26 08:02:45 UTC

[GitHub] jvrao opened a new issue #1063: PendingAddOp keeps refCnt onthe toSend buffer longer than needed.

jvrao opened a new issue #1063: PendingAddOp keeps refCnt onthe toSend buffer longer than needed.
URL: https://github.com/apache/bookkeeper/issues/1063
 
 
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   PendingAddOp:maybeRecycle()->recycle() keeps the buffer until writeComplete() is called
   for each bookie write. We need to keep this buffer only until it is successfully transferred by netty.
   In the current code, the write is retired only if disableEnsembleChangeFeature is enabled. Otherwise, there is no point in keeping this buffer around.
   
   Netty direct buffers are too scarce in the heavy workload scenarios. Keeping these buffers around longer than needed negatively affects the throughput on the client.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services