-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/69968/
-----------------------------------------------------------

Review request for mesos, Benno Evers, Gastón Kleiman, and Greg Mann.


Bugs: MESOS-9557
    https://issues.apache.org/jira/browse/MESOS-9557


Repository: mesos


Description
-------

There are two code paths the master can follow to remove an agent
from its memory:
- When the agent sends an UnregisterSlaveMessage or tries to register
  as a new agent,
- Or, when an agent is marked unreachable/gone.

The first code path did not clean up operation state completely,
resulting in leaking some memory in the master's Framework structs.


Diffs
-----

  src/master/master.cpp 014e0e053cdf5c53a5ef8d63300205a121bed319 


Diff: https://reviews.apache.org/r/69968/diff/1/


Testing
-------

See last patch in chain.


Thanks,

Joseph Wu

Reply via email to