[ https://issues.apache.org/jira/browse/MESOS-3476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marco Massenzio updated MESOS-3476: ----------------------------------- Sprint: Mesosphere Sprint 20, Mesosphere Sprint 21, Mesosphere Sprint 22, Mesosphere Sprint 23 (was: Mesosphere Sprint 20, Mesosphere Sprint 21, Mesosphere Sprint 22) > Refactor Status Update method on Agent to handle HTTP based Executors > --------------------------------------------------------------------- > > Key: MESOS-3476 > URL: https://issues.apache.org/jira/browse/MESOS-3476 > Project: Mesos > Issue Type: Task > Reporter: Anand Mazumdar > Assignee: Anand Mazumdar > Labels: mesosphere > > 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)