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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 Brody (Inactive)
            Reporter:
            Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: