You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Chun-Hung Hsiao (JIRA)" <ji...@apache.org> on 2019/06/05 21:37:00 UTC

[jira] [Created] (MESOS-9831) Master should not report disconnected resource providers.

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)