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

Fix race condition on createDatabase for case sensitive dbName

    • Sharding EMEA
    • Fully Compatible
    • v6.2, v6.0, v5.0, v4.4, v4.2
    • Sharding EMEA 2022-12-26

      The lock on createDatabase does not take into account that two parallel createDatabase with different case ( example: database0, DATABASE0) would not serialise.

      This as a consequence, will create both databases, leading to the catalog cache not being able to refresh 

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: