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/04/06 20:42:13 UTC

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

Sudheesh Katkam created DRILL-2697:
--------------------------------------

             Summary: 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
             Fix For: 1.1.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)