Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6947

RuntimeFilter memory leak due to BF ByteBuf ownership transferring

    XMLWordPrintableJSON

    Details

      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

            Activity

              People

              • Assignee:
                weijie Weijie Tong
                Reporter:
                weijie Weijie Tong
                Reviewer:
                Sorabh Hamirwasia
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: