You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Neil Conway (JIRA)" <ji...@apache.org> on 2016/12/12 22:18:59 UTC

[jira] [Created] (MESOS-6785) Prevent duplicate task IDs for partition-aware frameworks

Neil Conway created MESOS-6785:
----------------------------------

             Summary: Prevent duplicate task IDs for partition-aware frameworks
                 Key: MESOS-6785
                 URL: https://issues.apache.org/jira/browse/MESOS-6785
             Project: Mesos
          Issue Type: Bug
          Components: master
            Reporter: Neil Conway
            Assignee: Neil Conway


Duplicate task IDs might occur in two situations with partition-aware frameworks:

# The agent is partitioned and task X on that agent is marked unreachable. The framework that proceeds to attempt to launch a new task with id X; the task launch should fail.
# Same as above except that the master fails over before the task launch occurs. Because the master doesn't know that there is already a task id X on the partitioned agent, it cannot reasonably fail the task launch. Hence, when the agent re-registers, we probably need to kill the task with id X on the re-registering agent. This is unfortunate, but I'm not sure I see a feasible alternative.



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