Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-79953

resmoke stepdown thread should check the exit code of mongod during clean shutdown

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Replication
    • Fully Compatible
    • Repl 2023-08-21
    • 135

      It is possible for the server process to have crashed at shutdown rather than exiting with code 0. We should surface this condition as a ServerFailure exception to halt further test execution to avoid confounding the original error. This can be accomplished by checking the return value from chosen.mongod.wait() in restart_node().

            Assignee:
            jiawei.yang@mongodb.com Jiawei Yang
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: