Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-1673

The value of MASTER_PING_TIMEOUT is non-deterministic

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.20.0
    • None
    • None
    • Q3 Sprint 2
    • 1

    Description

      Right now, it is declared as follows:

      const Duration MASTER_PING_TIMEOUT =
        master::SLAVE_PING_TIMEOUT * master::MAX_SLAVE_PING_TIMEOUTS
      

      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).

      Attachments

        Issue Links

          Activity

            People

              jieyu Jie Yu
              jieyu Jie Yu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: