You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2014/08/05 21:18:12 UTC

[jira] [Created] (MESOS-1673) The value of MASTER_PING_TIMEOUT is non-deterministic

Jie Yu created MESOS-1673:
-----------------------------

             Summary: The value of MASTER_PING_TIMEOUT is non-deterministic
                 Key: MESOS-1673
                 URL: https://issues.apache.org/jira/browse/MESOS-1673
             Project: Mesos
          Issue Type: Bug
            Reporter: Jie Yu
            Priority: Critical


Right now, it is declared as follows:
{noformat}
const Duration MASTER_PING_TIMEOUT =
  master::SLAVE_PING_TIMEOUT * master::MAX_SLAVE_PING_TIMEOUTS
{noformat}

Since static initialization order in C++ is undefined, MASTER_PING_TIMEOUT's value is non-deterministic. We've already observed that in tests (where MASTER_PING_TIMEOUT == 0).



--
This message was sent by Atlassian JIRA
(v6.2#6252)