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/06/06 10:03:30 UTC
[GitHub] sijie opened a new pull request #1488: [bookie] [DbLedgerStorage]
fix illegal reference count exception on filling read cache
sijie opened a new pull request #1488: [bookie] [DbLedgerStorage] fix illegal reference count exception on filling read cache
URL: https://github.com/apache/bookkeeper/pull/1488
Descriptions of the changes in this PR:
*Problem*
ByteBuf is released at a finally block. DbLedgerStorage doesn't have to release it on return. If it does so, that will cause
double-release and it will throw IllegalReferenceCountException.
*Solution*
Remove `ByteBuf.release` at return.
Related Issue: #1487
----------------------------------------------------------------
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