drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Phillips (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-1812) SingleSender blocking rpc thread
Date Fri, 05 Dec 2014 05:14:13 GMT
Steven Phillips created DRILL-1812:

             Summary: SingleSender blocking rpc thread
                 Key: DRILL-1812
                 URL: https://issues.apache.org/jira/browse/DRILL-1812
             Project: Apache Drill
          Issue Type: Bug
            Reporter: Steven Phillips

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.

This message was sent by Atlassian JIRA

View raw message