Greg Mann created MESOS-10089:
---------------------------------

             Summary: AGENT_REMOVED event not sent when agents marked GONE
                 Key: MESOS-10089
                 URL: https://issues.apache.org/jira/browse/MESOS-10089
             Project: Mesos
          Issue Type: Bug
          Components: master
    Affects Versions: 1.9.0
            Reporter: Greg Mann


The master currently does not send subscribers the AGENT_REMOVED event when 
agents are marked GONE, but it should.

Since the {{__removeSlave}} method is used to handle both the UNREACHABLE and 
GONE cases, we could update it to conditionally send this event. However, it's 
worth noting that the {{_removeSlave}}/{{__removeSlave}} logic is messy and 
unintuitive and in need of refactoring - I suspect we can turn these into a 
single method which handles all cases with the help of an auxiliary function or 
two.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to