Skip to content
This repository was archived by the owner on Jan 14, 2026. It is now read-only.

Release the chunkBuffer if an exception is thrown whilst reading#26

Merged
zegelin merged 1 commit into
instaclustr:masterfrom
suhailpatel:fix-chunk-issues
Jan 22, 2020
Merged

Release the chunkBuffer if an exception is thrown whilst reading#26
zegelin merged 1 commit into
instaclustr:masterfrom
suhailpatel:fix-chunk-issues

Conversation

@suhailpatel

Copy link
Copy Markdown

If an exception was thrown due to an issue whilst reading the MetricFamily into the slice, the buffer wasn't released. Netty complains about ByteBuf being gc'ed without being explicitly released.

If an exception was thrown due to an issue whilst reading the
MetricFamily into the slice, the buffer wasn't released and
Netty complained about ByteBuf being gc'ed without being explicitly
released.
@suhailpatel

suhailpatel commented Jul 6, 2019

Copy link
Copy Markdown
Author

@zegelin Would you mind having a review please when you have a chance (I can't seem to ask you on GitHub to be a reviewer)

@zegelin

zegelin commented Jul 10, 2019

Copy link
Copy Markdown

@suhailpatel will review shortly. Thanks for the PR!

@zegelin zegelin merged commit d6f1c32 into instaclustr:master Jan 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants