You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Gastón Kleiman (JIRA)" <ji...@apache.org> on 2016/09/28 17:02:21 UTC

[jira] [Commented] (MESOS-6170) Health check grace period covers failures happening after first success.

    [ https://issues.apache.org/jira/browse/MESOS-6170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15530230#comment-15530230 ] 

Gastón Kleiman commented on MESOS-6170:
---------------------------------------

https://reviews.apache.org/r/52357/

> Health check grace period covers failures happening after first success.
> ------------------------------------------------------------------------
>
>                 Key: MESOS-6170
>                 URL: https://issues.apache.org/jira/browse/MESOS-6170
>             Project: Mesos
>          Issue Type: Improvement
>    Affects Versions: 1.0.0
>            Reporter: Alexander Rukletsov
>            Assignee: Gastón Kleiman
>              Labels: health-check, mesosphere
>             Fix For: 1.1.0
>
>
> Currently, the health check library [ignores *all* failures|https://github.com/apache/mesos/blob/b053572bc424478cafcd60d1bce078f5132c4590/src/health-check/health_checker.cpp#L192-L197] from the task’s start (technically from the health check library initialization) [until after the grace period ends|https://github.com/apache/mesos/blob/b053572bc424478cafcd60d1bce078f5132c4590/include/mesos/v1/mesos.proto#L403].
> This behaviour is misleading. Once the health check succeeds for the first time, grace period rule for failures should not be applied any more.
> For example, if the grace period is set to 10 minutes, the task becomes healthy after 1 minute and fails after 2 minutes, the failure should be treated as a normal failure with all the consequences.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)