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

Provide scheduler calls to subscribe to additional roles and unsubscribe from roles.

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Mesosphere Sprint 73, Mesosphere Sprint 74, Mesosphere Sprint 75, Mesosphere Sprint 76, Mesosphere Sprint 77, Mesosphere Sprint 78, Mesosphere Sprint 79, Mesosphere Sprint 2018-20, Resource Mgmt: RI-13 Sp 44, Resource Mgmt: RI13 Sp 45, Resource Mgmt: RI14 Sp 46, Resource Mgmt: RI14 Sp 47, Resource Mgmt: RI15 Sp 48
    • 13

    Description

      The current support for schedulers to subscribe to additional roles or unsubscribe from some of their roles requires that the scheduler obtain a new subscription with the master which invalidates the event stream.

      A more lightweight mechanism would be to provide calls for the scheduler to subscribe to additional roles or unsubscribe from some roles such that the existing event stream remains open and offers to the new roles arrive on the existing event stream. E.g.

      SUBSCRIBE_TO_ROLE
      UNSUBSCRIBE_FROM_ROLE

      One open question pertains to the terminology here, whether we would want to avoid using "subscribe" in this context. An alternative would be:

      UPDATE_FRAMEWORK_INFO

      Which provides a generic mechanism for a framework to perform framework info updates without obtaining a new event stream.

      In addition, it would be easier to use if it returned 200 on success and an error response if invalid, etc. Rather than returning 202.

      NOTE: Not specific to this issue, but we need to figure out how to allow the framework to not leak reservations, e.g. MESOS-7651.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            asekretenko Andrei Sekretenko
            bmahler Benjamin Mahler
            Benjamin Mahler Benjamin Mahler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Agile

                Completed Sprints:
                Mesosphere Sprint 73 ended 01/Feb/18
                Mesosphere Sprint 74 ended 15/Feb/18
                Mesosphere Sprint 75 ended 03/Mar/18
                Mesosphere Sprint 76 ended 30/Mar/18
                Mesosphere Sprint 77 ended 12/Apr/18
                Mesosphere Sprint 78 ended 30/Apr/18
                Mesosphere Sprint 79 ended 10/May/18
                Mesosphere Sprint 2018-20 ended 25/May/18
                Resource Mgmt: RI-13 Sp 44 ended 24/Apr/19
                Resource Mgmt: RI13 Sp 45 ended 08/May/19
                Resource Mgmt: RI14 Sp 46 ended 22/May/19
                Resource Mgmt: RI14 Sp 47 ended 05/Jun/19
                Resource Mgmt: RI15 Sp 48 ended 19/Jun/19
                View on Board

                Slack

                  Issue deployment