Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.16.0
Description
RuntimeFilter's BF ByteBuf ownership should be transferred right at broadcast and random hash cases. Currently due to we not treat this transferring reasonable, it caused the memory leak.
To broadcast case,the HashJoin operator's allocator allocated the BF, the allocated BF's ownership should be transferred to its receiver : the FragmentContextImpl or the final RuntimeFilter operator. Otherwise, the OperatorContextImpl's close method will complain about the memory leak when closing the corresponding allocator.
Attachments
Issue Links
- Blocked
-
DRILL-6914 Query with RuntimeFilter and SemiJoin fails with IllegalStateException: Memory was leaked by query
- Resolved
- links to