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

Do not use distLocks for createDatabase

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • v5.0
    • Sharding EMEA 2021-05-31
    • 146

    Description

      There is no need anymore to take the distLock on the createDatabase path. In fact we want only to avoid multiple createDatabases to happen concurrently on theĀ  configsvr and we can achieve this using only a local lock.

      Attachments

        Issue Links

          Activity

            People

              tommaso.tocci@mongodb.com Tommaso Tocci
              tommaso.tocci@mongodb.com Tommaso Tocci
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: