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

Use and handle InterruptedException during query processing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 1.0.0
    • Execution - Flow
    • None

    Description

      Cancellation requests don't yet handle using InterruptedException to deal with blocking operations. For example, if a thread is blocked doing I/O, or waiting for completion of write requests (via SendingAccountor), then we need to be able to interrupt it so we can continue.

      This means both knowing what threads to interrupt, and for any relevant blocking sites to handle the InterruptedException correctly (see http://www.ibm.com/developerworks/library/j-jtp05236/). At present, most of these just log the exception and continue, effectively swallowing the exception, which is not correct.

      Attachments

        Issue Links

          Activity

            People

              vkorukanti Venki Korukanti
              cwestin Chris Westin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: