Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3476

Refactor Status Update method on Agent to handle HTTP based Executors

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.26.0
    • 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

          Activity

            People

              anandmazumdar Anand Mazumdar
              anandmazumdar Anand Mazumdar
              Vinod Kone Vinod Kone
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: