Chun-Hung Hsiao created MESOS-9470:
--------------------------------------
Summary: Master may send `FRAMEWORK_UPDATED` for a new framework
ID in operator API.
Key: MESOS-9470
URL: https://issues.apache.org/jira/browse/MESOS-9470
Project: Mesos
Issue Type: Bug
Components: HTTP API, master
Affects Versions: 1.7.0
Reporter: Chun-Hung Hsiao
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)