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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.8.0
    • Execution - Flow
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: