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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 5.1.0, 5.0.0-rc1
    • Component/s: None
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v5.0, v4.4
    • Sprint:
      Execution Team 2021-05-31, Execution Team 2021-06-14
    • Linked BF Score:
      143

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              henrik.edin Henrik Edin
              Reporter:
              henrik.edin Henrik Edin
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: