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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.3, 3.3.2
    • Affects Version/s: 3.2.3
    • Component/s: Stability
    • Fully Compatible
    • ALL
    • Sharding 10 (02/19/16)
    • 0

      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

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

              Created:
              Updated:
              Resolved: