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

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

    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

            People

            • Assignee:
              Unassigned
              Reporter:
              chhsia0 Chun-Hung Hsiao
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: