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 6A80617861 for ; Sat, 11 Apr 2015 21:08:12 +0000 (UTC) Received: (qmail 35564 invoked by uid 500); 11 Apr 2015 21:08:12 -0000 Delivered-To: apmail-aurora-issues-archive@aurora.apache.org Received: (qmail 35520 invoked by uid 500); 11 Apr 2015 21:08: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 35510 invoked by uid 99); 11 Apr 2015 21:08: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:08:12 +0000 Date: Sat, 11 Apr 2015 21:08:12 +0000 (UTC) From: "Stephan Erb (JIRA)" To: issues@aurora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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 [ https://issues.apache.org/jira/browse/AURORA-1275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14491200#comment-14491200 ] Stephan Erb commented on AURORA-1275: ------------------------------------- Mailing list discussion: https://mail-archives.apache.org/mod_mbox/incubator-aurora-dev/201503.mbox/%3Cea362985d93941b1b12fc028e8aca10d@Ex2013-3.phi-tps.local%3E Review request: https://reviews.apache.org/r/32889/ > 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)