Thanks, Tobi In Marathon's case there are a couple of things in place to ensure reliable > launching. > Marathon tracks tasks via the Mesos state abstraction (backed by ZK) so it > can recover after getting disconnected. > It only considers a task running after it received a TASK_RUNNING from > Mesos: > > https://github.com/mesosphere/marathon/blob/master/src/main/scala/mesosphere/marathon/MarathonScheduler.scala#L107-L109 >
Is there more information about the state abstraction? Also, unless I'm missing something, the flow is: mark task as starting, call launchTasks, wait for confirmation of running. So if the launchTasks message is not delivered, the task will stay in the "starting" state, even though Mesos doesn't know about it. Is there another component that re-queues tasks that seem to be stuck in starting? Bernerd

