You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "weijie.tong (JIRA)" <ji...@apache.org> on 2019/01/06 06:41:00 UTC
[jira] [Created] (DRILL-6947) RuntimeFilter memory leak due to BF
ByteBuf ownership transferring
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)