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

inShutdown() in mongos should return true as soon as the shutdown process begins

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.2.3
    • 3.2.3, 3.3.2
    • Stability
    • Fully Compatible
    • ALL
    • Sharding 10 (02/19/16)
    • 0

    Description

      exitCleanly is used in many places to shut down running pieces of the server, however the inShutdown() method won't return true until dbexit is called at the end of exitCleanly(). This leads to a race where some components can be told to shutdown but when checking inShutdown() will see false

      Attachments

        Issue Links

          Activity

            People

              spencer@mongodb.com Spencer Brody (Inactive)
              spencer@mongodb.com Spencer Brody (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: