Return-Path: X-Original-To: apmail-aurora-issues-archive@minotaur.apache.org Delivered-To: apmail-aurora-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 5BCC51785F for ; Sat, 11 Apr 2015 21:07:12 +0000 (UTC) Received: (qmail 34492 invoked by uid 500); 11 Apr 2015 21:07:12 -0000 Delivered-To: apmail-aurora-issues-archive@aurora.apache.org Received: (qmail 34447 invoked by uid 500); 11 Apr 2015 21:07:12 -0000 Mailing-List: contact issues-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.apache.org Delivered-To: mailing list issues@aurora.apache.org Received: (qmail 34437 invoked by uid 99); 11 Apr 2015 21:07:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Apr 2015 21:07:12 +0000 Date: Sat, 11 Apr 2015 21:07:12 +0000 (UTC) From: "Stephan Erb (JIRA)" To: issues@aurora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AURORA-1275) Don't delay kill sequence when HTTP teardown signal could not be dispatched MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Stephan Erb created AURORA-1275: ----------------------------------- Summary: Don't delay kill sequence when HTTP teardown signal could not be dispatched Key: AURORA-1275 URL: https://issues.apache.org/jira/browse/AURORA-1275 Project: Aurora Issue Type: Story Components: Executor, Thermos Reporter: Stephan Erb Assignee: Stephan Erb The Thermos task runner performs a kill escalation sequence by dispatching calls to the HTTP endpoints /quitquitquit and /abortabortabort before stopping a task for good. After each of these calls it waits for 5 seconds. The runner should not perform the waiting when the corresponding shutdown request could not be dispatched. Advantages: * Services which use a health port but don't implement /qqq and /aaa are not taxed by a total of 10 seconds waiting time for each kill operation * The whole system is faster to react when services are meant to be restarted due to failing health checks. Failing health checks often imply an application is not responding at all, including the endpoints /qqq and /aaa -- This message was sent by Atlassian JIRA (v6.3.4#6332)