[
https://issues.apache.org/jira/browse/DRILL-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chun Chang resolved DRILL-2697.
-------------------------------
Resolution: Fixed
> 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: Chun Chang
> Fix For: 1.0.0
>
> Attachments: DRILL-2697.1.patch.txt, DRILL-2697.5.patch.txt
>
>
> 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)