Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4548

BlockingJoinNode::Close() should wait for completion of async build thread

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Impala 2.8.0
    • Fix Version/s: Impala 2.9.0
    • Component/s: Backend
    • Labels:
      None

      Description

      As shown in IMPALA-4532, the build async thread can still be running after the query has completed. This may lead use-after-free issue in IMPALA-4532. A more appropriate design is for BlockingJoinNode::Close() to wait for the completion of the build thread.

        Activity

        Hide
        kwho Michael Ho added a comment -

        Oops..sorry for the wrong version.

        Show
        kwho Michael Ho added a comment - Oops..sorry for the wrong version.
        Hide
        jbapple Jim Apple added a comment -

        As a reminder: 2.9 hasn't been released (or even proposed + branch cut) yet.

        Show
        jbapple Jim Apple added a comment - As a reminder: 2.9 hasn't been released (or even proposed + branch cut) yet.
        Show
        kwho Michael Ho added a comment - https://github.com/apache/incubator-impala/commit/692c6a555811a09827dd963d4bf4f1ffd0a3aad4

          People

          • Assignee:
            kwho Michael Ho
            Reporter:
            kwho Michael Ho
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development