Benjamin Mahler created MESOS-858:
-------------------------------------

             Summary: Ignore launch/kill requests in the slave originating from 
non-leading masters.
                 Key: MESOS-858
                 URL: https://issues.apache.org/jira/browse/MESOS-858
             Project: Mesos
          Issue Type: Bug
          Components: slave
            Reporter: Benjamin Mahler
            Assignee: Benjamin Mahler
             Fix For: 0.16.0


These were left as TODOs in the code when applying a related fix:

void Slave::runTask(
    const FrameworkInfo& frameworkInfo,
    const FrameworkID& frameworkId,
    const string& pid,
    const TaskInfo& task)
{
  // TODO(bmahler): Consider ignoring requests not originating from the
  // expected master.



void Slave::killTask(const FrameworkID& frameworkId, const TaskID& taskId)
{
  // TODO(bmahler): Consider ignoring requests not originating from the
  // expected master.


We've observed a scenario in which a non-leading master flushed it's queue of 
messages before committing suicide, the framework in this case launched the 
same task twice, but regardless we should ignore these messages in the slave.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to