You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (JIRA)" <ji...@apache.org> on 2019/01/14 09:13:00 UTC
[jira] [Updated] (DRILL-6947) RuntimeFilter memory leak due to BF
ByteBuf ownership transferring
[ https://issues.apache.org/jira/browse/DRILL-6947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arina Ielchiieva updated DRILL-6947:
------------------------------------
Reviewer: Sorabh Hamirwasia
> 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: Bug
> Reporter: weijie.tong
> Assignee: weijie.tong
> Priority: Major
> 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)