----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65868/#review198564 -----------------------------------------------------------
Ship it! This is an improvement, but maybe we need to return a failure eventually for the containerizer::update() call. We could do that at a followup patch. - Gilbert Song On March 1, 2018, 10:12 a.m., Andrei Budnik wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/65868/ > ----------------------------------------------------------- > > (Updated March 1, 2018, 10:12 a.m.) > > > Review request for mesos, Gilbert Song and Greg Mann. > > > Bugs: MESOS-8605 > https://issues.apache.org/jira/browse/MESOS-8605 > > > Repository: mesos > > > Description > ------- > > This patch fixes the bug when a terminal status update is never sent > after termination of the docker executor, when the Docker daemon hangs > for `inspect` command. A terminal status update is postponed until > containerizer `update` completes that uses `inspect` command to get > a PID of the docker container. To address the issue, we retry `inspect` > in the loop. > > > Diffs > ----- > > src/slave/constants.hpp 030fb05186f7f360010bb7e5b4948faac69771cc > src/slave/containerizer/docker.cpp 1f4eeb4628517707ab866014fcda9d9b15053d1f > > > Diff: https://reviews.apache.org/r/65868/diff/1/ > > > Testing > ------- > > sudo make check (Fedora 25) > internal CI > > > Thanks, > > Andrei Budnik > >
