Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.7.0
-
None
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.