Anand Mazumdar created MESOS-3476:
-------------------------------------
Summary: Refactor Status Update method on Slave to handle HTTP
Executors
Key: MESOS-3476
URL: https://issues.apache.org/jira/browse/MESOS-3476
Project: Mesos
Issue Type: Bug
Reporter: Anand Mazumdar
Currently, receiving a status update sent from slave to itself , {{runTask}} ,
{{killTask}} and status updates from executors are handled by the
{{Slave::statusUpdate}} method on Slave. The signature of the method is {{void
Slave::statusUpdate(StatusUpdate update, const UPID& pid)}}.
We need to create another overload of it that can also handle HTTP based
executors which the previous PID based function can also call into. The
signature of the new function could be:
{{void Slave::statusUpdate(StatusUpdate update, Executor* executor)}}
The HTTP Executor would also call into this new function via
{{src/slave/http.cpp}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)