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/26 20:13:52 UTC
[jira] [Resolved] (MESOS-655) FaultToleranceTest.MasterFailover not
simulating a realistic Master shutdown
[ https://issues.apache.org/jira/browse/MESOS-655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yan Xu resolved MESOS-655.
--------------------------
Resolution: Fixed
Assignee: Yan Xu
[Committed.|https://github.com/apache/mesos/commit/b1f926db043d58cf030ac2ad880529284b887caa]
> 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
> Assignee: 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