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)

Reply via email to