You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Greg Mann (JIRA)" <ji...@apache.org> on 2019/02/02 00:56:00 UTC

[jira] [Created] (MESOS-9550) Refactor agent removal logic

Greg Mann created MESOS-9550:
--------------------------------

             Summary: Refactor agent removal logic
                 Key: MESOS-9550
                 URL: https://issues.apache.org/jira/browse/MESOS-9550
             Project: Mesos
          Issue Type: Task
            Reporter: Greg Mann


The master currently has two helper methods used for agent removal: {{_removeSlave()}} and {{__removeSlave()}}. Note that, in spite of the naming, {{__removeSlave()}} is not a continuation of {{_removeSlave()}}. Rather, they are two independent methods which perform similar logic for different cases of agent removal.

We should refactor this logic into a single common helper to make the code more easily comprehensible.



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