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

SingleSender blocking rpc thread

    XMLWordPrintableJSON

Details

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

    Description

      When the send fails in SingleSender, the listener calls stop(), which creates two problems. First, stop() calls the cleanup() method, which can cause buffers to be removed while the execution thread is still using them. Second, this method blocks on waitForSendComlete(), and we never want to block the rpc thread, as this can lead to the drillbit becoming unresponsive.

      The stop() method should not be called by thread other than the execution thread.

      Attachments

        1. DRILL-1812.patch
          1 kB
          Steven Phillips

        Activity

          People

            sphillips Steven Phillips
            sphillips Steven Phillips
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: