Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

closeOnExcept -> withResources in MetaUtils #1107

Merged
merged 2 commits into from
Nov 13, 2020

Conversation

abellina
Copy link
Collaborator

@abellina abellina commented Nov 13, 2020

Signed-off-by: Alessandro Bellina abellina@nvidia.com

This fixes a leak in MetaUtils. It also replaces the use of ArrayBuffer with Array such that the appropriate impl of withResources is picked.

Thanks to @jlowe to help triage this.

Signed-off-by: Alessandro Bellina <abellina@nvidia.com>
@abellina
Copy link
Collaborator Author

build

@abellina abellina changed the title closeOnExcept -> withResources in MetaUtils [WIP] closeOnExcept -> withResources in MetaUtils Nov 13, 2020
@abellina
Copy link
Collaborator Author

This is breaking related tests locally and in CI also. I had machine troubles so didn't run the tests beforehand until now. Please hold on reviewing until that is fixed.

Signed-off-by: Alessandro Bellina <abellina@nvidia.com>
@abellina abellina changed the title [WIP] closeOnExcept -> withResources in MetaUtils closeOnExcept -> withResources in MetaUtils Nov 13, 2020
@abellina
Copy link
Collaborator Author

Ok sorry for the confusion, this one looks better now. Will trigger CI again.

@abellina
Copy link
Collaborator Author

build

@abellina abellina added the bug Something isn't working label Nov 13, 2020
@jlowe jlowe added this to the Nov 9 - Nov 20 milestone Nov 13, 2020
@jlowe jlowe merged commit 8364674 into NVIDIA:branch-0.3 Nov 13, 2020
sperlingxx pushed a commit to sperlingxx/spark-rapids that referenced this pull request Nov 20, 2020
* closeOnExcept -> withResources in MetaUtils

Signed-off-by: Alessandro Bellina <abellina@nvidia.com>

* getBatchFromMeta needs to add to the reference count

Signed-off-by: Alessandro Bellina <abellina@nvidia.com>
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
* closeOnExcept -> withResources in MetaUtils

Signed-off-by: Alessandro Bellina <abellina@nvidia.com>

* getBatchFromMeta needs to add to the reference count

Signed-off-by: Alessandro Bellina <abellina@nvidia.com>
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
* closeOnExcept -> withResources in MetaUtils

Signed-off-by: Alessandro Bellina <abellina@nvidia.com>

* getBatchFromMeta needs to add to the reference count

Signed-off-by: Alessandro Bellina <abellina@nvidia.com>
tgravescs pushed a commit to tgravescs/spark-rapids that referenced this pull request Nov 30, 2023
…IDIA#1107)

Signed-off-by: spark-rapids automation <70000568+nvauto@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants