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

Checking if capped snapshot is needed can access collection metadata without synchonrization

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Catalog and Routing
    • ALL
    • 144

    Description

      When acquiring resources for an operation, we check whether we need need to establish a capped snapshot. This check then accesses the collection metadata. Notably, at this point we are using the latest version of the collection catalog since we haven't established a snapshot yet. This means that a concurrent operation can use the same version of the catalog to write to the collection metadata concurrently.

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: