drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Nadeau (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-1812) SingleSender blocking rpc thread
Date Fri, 05 Dec 2014 21:00:12 GMT

     [ https://issues.apache.org/jira/browse/DRILL-1812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jacques Nadeau resolved DRILL-1812.
    Resolution: Fixed

Merged in d15ba12

> 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
>            Assignee: Steven Phillips
>         Attachments: DRILL-1812.patch
> 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