You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Sudheesh Katkam (JIRA)" <ji...@apache.org> on 2015/05/05 18:17:00 UTC

[jira] [Updated] (DRILL-2697) Pause injections should pause indefinitely until signalled

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

Sudheesh Katkam updated DRILL-2697:
-----------------------------------
    Fix Version/s:     (was: 1.1.0)
                   1.0.0

> Pause injections should pause indefinitely until signalled
> ----------------------------------------------------------
>
>                 Key: DRILL-2697
>                 URL: https://issues.apache.org/jira/browse/DRILL-2697
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Execution - Flow
>    Affects Versions: 0.9.0
>            Reporter: Sudheesh Katkam
>            Assignee: Sudheesh Katkam
>             Fix For: 1.0.0
>
>
> Currently injected pauses make threads sleep for a specified time. This can  be an enhanced to stop the thread indefinitely using a CountDownLatch. It is quite similar to how cancellation works. 
> Tasks: 
> (a) Add another message to RPC layer to signal paused remote threads to resume (through ControlHandler) by counting down. Complications if the thread has not reached the pause site yet.
> (b) Add resume signal (like ctrl-c) to sqlline 
>     (further enhancement: another signal to trigger pause from sqlline)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)