Jie Yu created MESOS-8151:
-----------------------------

             Summary: Task status update for unknown task shouldn't be 
forwarded.
                 Key: MESOS-8151
                 URL: https://issues.apache.org/jira/browse/MESOS-8151
             Project: Mesos
          Issue Type: Bug
    Affects Versions: 1.4.0
            Reporter: Jie Yu


See the code here:
https://github.com/apache/mesos/blob/28831de34d098c894042246dd6fef402eb3b960d/src/master/master.cpp#L7179-L7208

It's possible that a task is removed from the master for an partition unaware 
framework due to a agent partition. Those tasks won't be re-added to the master 
after the agent re-registers with the master when partition resolves.
https://github.com/apache/mesos/blob/28831de34d098c894042246dd6fef402eb3b960d/src/master/master.cpp#L6705-L6745

Given that those tasks have already been updated with TASK_LOST, will be 
shutdown (shutdown framework will be issued when agent re-registers) soon, we 
should not forward the update to the framework.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to