[ 
https://issues.apache.org/jira/browse/MESOS-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jie Yu updated MESOS-1673:
--------------------------

    Story Points: 1

> 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
>            Assignee: Jie Yu
>            Priority: Critical
>             Fix For: 0.20.0
>
>
> 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