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

listDatabases command doesn't hold global lock when getting the list of databases

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0-rc1
    • Affects Version/s: None
    • Component/s: Concurrency
    • Labels:
    • Fully Compatible
    • ALL
    • Integration 2016-10-10

      It uses DBLock when querying the individual dbs, but it doesn't hold any locks during the initial call into the storage engine. At the very least this can race with clean shutdown.

            Assignee:
            geert.bosch@mongodb.com Geert Bosch
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: