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

(Updated May 20, 2014, 1:31 a.m.)


Review request for mesos and Niklas Nielsen.


Changes
-------

Added wait around orphan destruction to allow the recover returned future to be 
satisfied once the orphans got terminated. Now using a partial internal state 
(actives without sandbox) to account for orphan destruction, preventing 
confusing log output.


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


Repository: mesos-git


Description (updated)
-------

An orphaned container is known to the ECP but not to the EC, thus not 
recoverable but pending. This patch enforces a call to destroy for any orphan 
that has been identified as such during the recovery phase.

NOTE: Such destroy is wrapped by a call to "wait" to make sure the 
ExternalContainerizer gets to know when a container was destroyed successfully.


Diffs (updated)
-----

  src/slave/containerizer/external_containerizer.hpp afffff1 
  src/slave/containerizer/external_containerizer.cpp f9811c4 

Diff: https://reviews.apache.org/r/21424/diff/


Testing (updated)
-------

make check against upcoming SlaveRecoveryTests (enabled locally)


Thanks,

Till Toenshoff

Reply via email to