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

canceling a fragment executor before it starts running will cause the Foreman to wait indefinitely for a terminal message from that fragment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • None

    Description

      When a Foreman receives a cancellation from the client it will cancel all it's fragments and go into a CANCELLATION_REQUEST state. Each fragment will cancel it's work, close it's resources and report a terminal state to the Foreman (either CANCELLED or FAILED). The Foreman will wait for all fragments to report before sending a terminal message to the client.
      If a fragment is cancelled before it started running (similar to DRILL-2878) it will close it's resources but it will never send a terminal state to the foreman which will cause the foreman to wait indefinitely.

      Attachments

        1. DRILL-3052.1.patch.txt
          8 kB
          Sudheesh Katkam

        Issue Links

          Activity

            People

              jnadeau Jacques Nadeau
              adeneche Abdel Hakim Deneche
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: