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

FragmentExecutor.cancel() blasts through state transitions regardless of current state

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.8.0
    • Component/s: Execution - Flow
    • Labels:
      None

      Description

      FragmentExecutor.cancel() unconditionally sets its state to cancelled. In cases where the fragment has already failed or completed successfully, this causes problems. A cancel() in those cases (or when they're in the middle of being finalized) shouldn't do anything.

        Attachments

        1. DRILL-2575.1.patch.txt
          5 kB
          Chris Westin

          Activity

            People

            • Assignee:
              jnadeau Jacques Nadeau
              Reporter:
              cwestin Chris Westin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: