mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Song <>
Subject Re: Review Request 45386: Fix container destroy provisioning race.
Date Mon, 28 Mar 2016 16:09:07 GMT

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

(Updated March 28, 2016, 9:09 a.m.)

Review request for mesos and Jie Yu.

Bugs: MESOS-5023

Repository: mesos

Description (updated)

Fix container destroy provisioning race.

This flaky test results from `_launch()` and `___destroy()` are waiting for the same future
to be ready. It is possible that `___destroy()` and its dependencies already finish before
`_launch()` starts. We have to check the hashmap. If the `containerId` does not exist, it
means destroy finishes.

Diffs (updated)

  src/slave/containerizer/mesos/containerizer.cpp e7f7e7fd1304e14dbfaab8b53cea16efc0417911



make check

./bin/ --gtest_filter="*DestroyWhileProvisioning*" --gtest_repeat=-1 --gtest_break_on_failure


Gilbert Song

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