Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9505610F8A for ; Tue, 5 May 2015 16:17:00 +0000 (UTC) Received: (qmail 34400 invoked by uid 500); 5 May 2015 16:17:00 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 34370 invoked by uid 500); 5 May 2015 16:17:00 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 34360 invoked by uid 99); 5 May 2015 16:17:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2015 16:17:00 +0000 Date: Tue, 5 May 2015 16:17:00 +0000 (UTC) From: "Sudheesh Katkam (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-2697) Pause injections should pause indefinitely until signalled MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)