You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Yan Xu (JIRA)" <ji...@apache.org> on 2013/08/21 20:09:54 UTC
[jira] [Created] (MESOS-655) FaultToleranceTest.MasterFailover not
simulating a realistic Master shutdown
Yan Xu created MESOS-655:
----------------------------
Summary: FaultToleranceTest.MasterFailover not simulating a realistic Master shutdown
Key: MESOS-655
URL: https://issues.apache.org/jira/browse/MESOS-655
Project: Mesos
Issue Type: Bug
Reporter: Yan Xu
Fix For: 0.15.0
In tests like FaultToleranceTest.MasterFailover, Master instances are [shut down|https://github.com/apache/mesos/blob/604fbdac046e17951620bfd8db6af5f8ade3525c/src/tests/cluster.hpp] by process::terminate() and pointer deletion.
This invokes Master::finalize() and Master::~Master(), which remove tasks, frameworks and slaves. When the Master shuts down in production, though, it commits suicide by LOG(FATAL) which doesn't send any of these messages.
We should simulate a Master shutdown similar to LOG(FATAL).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira