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

Fix race condition on createDatabase for case sensitive dbName

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 5.0.14, 6.0.3, 6.2.0-rc4
    • 5.0.15, 6.0.4, 6.3.0-rc0
    • None
    • Sharding EMEA
    • Fully Compatible
    • v6.2, v6.0, v5.0, v4.4, v4.2
    • Sharding EMEA 2022-12-26

    Description

      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 

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: