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

Master may send `FRAMEWORK_UPDATED` for a new framework ID in operator API.

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      In the operator streaming API, the master only sends FRAMEWORK_ADDED if a framework is subscribed with no ID:
      https://github.com/apache/mesos/blob/4803af11bcb038193c238c049ea67c73b1bfd9a1/src/master/master.cpp#L2653-L2679
      https://github.com/apache/mesos/blob/4803af11bcb038193c238c049ea67c73b1bfd9a1/src/master/master.cpp#L2951-L2988

      That means after a master failover, if a framework is recovered from an agent or subscribed with an ID, a FRAMEWORK_UPDATED with a framework ID that is previously unknown will be sent to the subscribers.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            chhsia0 Chun-Hung Hsiao

            Dates

              Created:
              Updated:

              Slack

                Issue deployment