Do not use distLocks for createDatabase

XMLWordPrintableJSON

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

      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.

            Assignee:
            Tommaso Tocci
            Reporter:
            Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: