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

Potential race in exit code used when shutting down server

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 3.5.9
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • TIG 2017-06-19

    Description

      It is possible that after the shutdown tasks complete for a thread that didn't call shutdown() first to exit with a different exit code than the thread that called shutdown() first. The logAndQuickExit(code) call when the shutdown tasks are already in progress should be changed to logAndQuickExit(shutdownExitCode.get()).

      Attachments

        Activity

          People

            max.hirschhorn@mongodb.com Max Hirschhorn
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: