[ https://issues.apache.org/jira/browse/DRILL-6947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sorabh Hamirwasia updated DRILL-6947: ------------------------------------- Component/s: Execution - Flow > 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 > Components: Execution - Flow > Affects Versions: 1.16.0 > Reporter: weijie.tong > Assignee: weijie.tong > Priority: Major > Labels: ready-to-commit > 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)