weijie.tong created DRILL-6947:
----------------------------------
Summary: RuntimeFilter memory leak due to BF ByteBuf ownership
transferring
Key: DRILL-6947
URL: https://issues.apache.org/jira/browse/DRILL-6947
Project: Apache Drill
Issue Type: Improvement
Reporter: weijie.tong
Assignee: weijie.tong
Fix For: 1.16.0
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)