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

FaultToleranceTest.MasterFailover not simulating a realistic Master shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.15.0
    • None
    • None

    Description

      In tests like FaultToleranceTest.MasterFailover, Master instances are shut down 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).

      Attachments

        Activity

          People

            xujyan Yan Xu
            xujyan Yan Xu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: