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

Concurrent writers can create a Collection and a View on the same namespace

    • Fully Compatible
    • ALL
    • v5.0, v4.4
    • Execution Team 2021-05-31, Execution Team 2021-06-14
    • 143

      The createCollection and createView cross checks the systems at a high level after acquiring the Collection MODE_IX lock.

       

      However, writes to the CollectionCatalog and ViewCatalog are serialized individually making it possible that both a Collection and View to be added.

            Assignee:
            henrik.edin@mongodb.com Henrik Edin
            Reporter:
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: