Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Mesosphere Sprint 20, Mesosphere Sprint 21, Mesosphere Sprint 22, Mesosphere Sprint 23
-
8
Description
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
Attachments
Issue Links
- is required by
-
MESOS-2296 Implement the Events stream on slave for Call endpoint
- Resolved