merlimat opened a new pull request #6792: URL: https://github.com/apache/pulsar/pull/6792
### Motivation The `PulsarMockLedgerHandle.asyncAddEntry()` is retaining the bytebuf before starting the operation. This makes it "ref-count neutral", though the real BK client implementation is only doing the release. This results in buffer leaks during the unit tests (which are caught by the Netty leak detector). ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
