forked from parquet-go/parquet-go
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
close rowGroupCursors when Popped due to io.EOF in mergedRowGroupRows…
… (#337) This commit fixes a potential goroutine leak. mergeRowGroupRows cursors, when initialized, might spawn a goroutine (e.g. asyncPages.readPages). Previously, when a cursor returned io.EOF, this cursor was popped from the min-heap but never closed, resulting in leaked goroutines.
- Loading branch information
Showing
2 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters