mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Klues <>
Subject Review Request 55778: Moved check for 'has_parent()' in docker containerizer destroy.
Date Fri, 20 Jan 2017 18:33:40 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for mesos, Benjamin Mahler and Jie Yu.

Bugs: MESOS-6214 and MESOS-6954

Repository: mesos


Ideally, we would do this check as the first thing we do after
entering this function. However, the containerizer API currently
requires callers of `launch()` to also call `destroy()` if the launch
fails (MESOS-6214). As such, putting the check at the top of this
function would cause the containerizer to crash if the launch failure
was due to the container having its `parent` field set. Once we remove
the requirement for `destroy()` to be called explicitly after launch
failures, we should move this check back to the top of this function.


  src/slave/containerizer/docker.cpp cfc67951dc29e4ed804614aeb36b76cf7d499add 



GTEST_FILTER="" make -j check
sudo src/mesos-tests


Kevin Klues

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message