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)

Reply via email to