[ 
https://issues.apache.org/jira/browse/MESOS-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13979089#comment-13979089
 ] 

Ian Downes commented on MESOS-1238:
-----------------------------------

During one of the continuations for MesosContainerizer::destroy() there are 
calls to Isolator::cleanup but these aren't collected before setting the 
Termination promise. This can be a problem in tests if the containerizer object 
(and its isolators) are destroyed before container destroy (and isolator 
cleanup) is completed.


> Mesos_containerizer needs to collect futures from isolators calling ::cleanup 
> before setting the promise to the slave
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: MESOS-1238
>                 URL: https://issues.apache.org/jira/browse/MESOS-1238
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Chi Zhang
>
> Otherwise this could cause a race with cluster::shutdown() killing the slave 
> before containers are cleaned up.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to