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

Do not use distLocks for createDatabase

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v5.0
    • Sprint:
      Sharding EMEA 2021-05-31
    • Linked BF Score:
      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

              Assignee:
              tommaso.tocci Tommaso Tocci
              Reporter:
              tommaso.tocci Tommaso Tocci
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: