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)