You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Stephan Erb (JIRA)" <ji...@apache.org> on 2015/07/05 21:56:04 UTC

[jira] [Closed] (AURORA-1275) Don't delay kill sequence when HTTP teardown signal could not be dispatched

     [ https://issues.apache.org/jira/browse/AURORA-1275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephan Erb closed AURORA-1275.
-------------------------------

> 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
>             Fix For: 0.8.0
>
>
> 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)