sijie opened a new pull request #230: Issue 226: ByteBuf.release() was not 
called before it's garbage-collected
URL: https://github.com/apache/distributedlog/pull/230
 
 
   
   Descriptions of the changes in this PR:
   
   the problem is a new entry buffer was allocated when closing log segment 
writer. the entry buffer is never used and also never recycled. It causes an 
annoying logging.
   
   the fix is to assign a dummy entry writer which basically rejects writes, 
when closing a log segment writer. it would prevent leaking bytebuf.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to