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

Fix scalar leak in WindowRetrySuite #10501

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Feb 26, 2024

Fixes #10499. WindowRetrySuite leaks because it does not close the GpuRunningWindowIterator which internally has a Scalar instance. Updated GpuRunningWindowIterator to derive from GpuColumnarBatchIterator to reduce some boilerplate code and updated the test to always close the iterator instance to avoid the leak.

@jlowe jlowe added the test Only impacts tests label Feb 26, 2024
@jlowe jlowe self-assigned this Feb 26, 2024
@jlowe
Copy link
Member Author

jlowe commented Feb 26, 2024

build

Copy link
Collaborator

@jbrennan333 jbrennan333 left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link
Collaborator

@gerashegalov gerashegalov left a comment

Choose a reason for hiding this comment

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

LGTM, might need a separate issue promoting safeClose

@jlowe jlowe merged commit be4a41b into NVIDIA:branch-24.04 Feb 26, 2024
39 of 41 checks passed
@jlowe jlowe deleted the fix-window-retry-suite-leak branch February 26, 2024 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Only impacts tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Unit tests core dump as below
4 participants