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

SingleSender blocking rpc thread

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment