[
https://issues.apache.org/jira/browse/MESOS-8543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352740#comment-16352740
]
Gastón Kleiman commented on MESOS-8543:
---------------------------------------
cc/ [~abudnik] [~alexr]
> The default executor can wrongly indicate that tasks from all tasks are
> unhealthy
> ---------------------------------------------------------------------------------
>
> Key: MESOS-8543
> URL: https://issues.apache.org/jira/browse/MESOS-8543
> Project: Mesos
> Issue Type: Bug
> Components: executor
> Reporter: Gastón Kleiman
> Priority: Major
> Labels: default-executor, health-check, mesosphere
>
> The default executor sets a "global"
> [unhealthy|https://github.com/apache/mesos/blob/7ace6c4c263ebdd8f1605b1c478cb2e7eb9e83a1/src/launcher/default_executor.cpp#L1286]
> field to {{true}} once it kills a task due to failed health checks.
> When a task from any task group exits, it will
> [check|https://github.com/apache/mesos/blob/7ace6c4c263ebdd8f1605b1c478cb2e7eb9e83a1/src/launcher/default_executor.cpp#L877-L882]
> that "global" healthy field and set the task status update's {{healthy}}
> field accordingly. This means that once an unhealthy task belonging to a task
> group is killed, task status updates for tasks belonging to other task
> groups, which can contain only healthy tasks, will be sent with their
> {{healthy}} field set to {{false}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)