Chun-Hung Hsiao created MESOS-9785:
--------------------------------------

             Summary: Frameworks recovered from reregistered agents are not 
reported to master `/api/v1` subscribers.
                 Key: MESOS-9785
                 URL: https://issues.apache.org/jira/browse/MESOS-9785
             Project: Mesos
          Issue Type: Bug
          Components: HTTP API
            Reporter: Chun-Hung Hsiao


Currently when an operator subscribes to the {{/api/v1}} master endpoint, it 
would receive a {{SUBSCRIBED}} event carrying information about all known 
frameworks, including registered ones and unregistered ones. If an unregistered 
framework reregisters later, a {{FRAMEWORK_UPDATED}} event would be sent to the 
operator.

However, if an operator subscribes to the {{/api/v1}} master endpoint after a 
master failover but before any of the frameworks and agents reregisters, 
{{SUBSCRIBED}} would contain no recovered framework information. When a agent 
with running tasks reregisters later, unregistered frameworks of those tasks 
will be recovered, but no {{FRAMEWORK_ADDED}} will be sent to the operator, so 
the operator will receive {{TASK_ADDED}} for those tasks with unknown framework 
IDs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to