DRILL-8479: Merge Join Leak When Depleting Incoming Batches Throw Exception
Description
when fragment failed, it call close() from MergeJoinBatch. but if leftIterator.close() throw exception, we could not call rightIterator.close() to release memory。
Relates to: (#2876)
Documentation
(Please describe user-visible changes similar to what should appear in the Drill documentation.)
Testing
The test method is the same with link, only one parameter needs to be modified,
set planner.enable_hashjoin =false to ensure use mergejoin operator
link
DRILL-8478: HashPartition memory leak when it allocate memory exception with OutOfMemoryException (#2874)
DRILL-8479: Merge Join Leak When Depleting Incoming Batches Throw Exception
Description
when fragment failed, it call close() from MergeJoinBatch. but if leftIterator.close() throw exception, we could not call rightIterator.close() to release memory。
Relates to: (#2876)
Documentation
(Please describe user-visible changes similar to what should appear in the Drill documentation.)
Testing
The test method is the same with link, only one parameter needs to be modified, set planner.enable_hashjoin =false to ensure use mergejoin operator link DRILL-8478: HashPartition memory leak when it allocate memory exception with OutOfMemoryException (#2874)