mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gastón Kleiman (JIRA) <j...@apache.org>
Subject [jira] [Commented] (MESOS-6457) Tasks shouldn't transition from TASK_KILLING to TASK_RUNNING.
Date Wed, 02 Nov 2016 16:09:58 GMT

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

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

I am afraid that {{TASK_LOST}} is not a terminal state. A slave rejoining the cluster after
a master failover might make tasks go from {{TASK_LOST}} to {{TASK_RUNNING}}.

If I understand Neil correctly, tasks could do the {{TASK_KILLING => TASK_LOST => TASK_RUNNING}}
transition only if an executor transitions them while the slave is disconnected from the cluster.

> Tasks shouldn't transition from TASK_KILLING to TASK_RUNNING.
> -------------------------------------------------------------
>
>                 Key: MESOS-6457
>                 URL: https://issues.apache.org/jira/browse/MESOS-6457
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 0.28.2, 1.0.1
>            Reporter: Gastón Kleiman
>            Assignee: Gastón Kleiman
>            Priority: Blocker
>
> A task can currently transition from {{TASK_KILLING}} to {{TASK_RUNNING}}, if for example
it starts/stops passing a health check once it got into the {{TASK_KILLING}} state.
> I think that this behaviour is counterintuitive. It also makes the life of framework/tools
developers harder, since they have to keep track of the complete task status history in order
to know if a task is being killed.



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

Mime
View raw message