Chun-Hung Hsiao created MESOS-9831:
--------------------------------------

             Summary: Master should not report disconnected resource providers.
                 Key: MESOS-9831
                 URL: https://issues.apache.org/jira/browse/MESOS-9831
             Project: Mesos
          Issue Type: Bug
          Components: master
    Affects Versions: 1.8.0
            Reporter: Chun-Hung Hsiao
            Assignee: Chun-Hung Hsiao


MESOS-9384 attempted to make the master to garbage-collect disconnected 
resource providers. However, if there are disconnected resource providers but 
none of the connected ones changes, the following code snippet would make the 
master ignore the agent update and skip the garbage collection:
https://github.com/apache/mesos/blob/2ae1296c668686d234be92b00bd7abbc0a6194b0/src/master/master.cpp#L8186-L8234
As a result, the master will still keep records for the disconnected resource 
providers and report them.



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

Reply via email to