Skip to content

ParallelCombiner: Fix buffer leak on exception in "combine".#5630

Merged
gianm merged 1 commit intoapache:masterfrom
gianm:fix-parallel-combine-maybe
Apr 12, 2018
Merged

ParallelCombiner: Fix buffer leak on exception in "combine".#5630
gianm merged 1 commit intoapache:masterfrom
gianm:fix-parallel-combine-maybe

Conversation

@gianm
Copy link
Copy Markdown
Contributor

@gianm gianm commented Apr 11, 2018

Once a buffer is acquired, we need to make sure to release it if an
exception is thrown before the closeable iterator is created.

Possibly fixes #5629.

Once a buffer is acquired, we need to make sure to release it if an
exception is thrown before the closeable iterator is created.
@gianm gianm added the Bug label Apr 11, 2018
Copy link
Copy Markdown
Contributor

@jihoonson jihoonson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 after travis.

@jihoonson
Copy link
Copy Markdown
Contributor

I think it makes sense to backport 0.12.

@jihoonson
Copy link
Copy Markdown
Contributor

Maybe related to #5630.

@gianm gianm merged commit 72d6dcd into apache:master Apr 12, 2018
gianm added a commit to gianm/druid that referenced this pull request Apr 12, 2018
…5630)

Once a buffer is acquired, we need to make sure to release it if an
exception is thrown before the closeable iterator is created.
@gianm gianm deleted the fix-parallel-combine-maybe branch April 12, 2018 01:55
b-slim pushed a commit that referenced this pull request Apr 12, 2018
…5633)

Once a buffer is acquired, we need to make sure to release it if an
exception is thrown before the closeable iterator is created.
gianm added a commit to implydata/druid-public that referenced this pull request Apr 12, 2018
…5630)

Once a buffer is acquired, we need to make sure to release it if an
exception is thrown before the closeable iterator is created.
@jihoonson jihoonson added this to the 0.12.1 milestone Apr 24, 2018
sathishsri88 pushed a commit to sathishs/druid that referenced this pull request May 8, 2018
…5630)

Once a buffer is acquired, we need to make sure to release it if an
exception is thrown before the closeable iterator is created.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mem-leak in historical 0.12

2 participants