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

Support optionally skipping the RSTL lock in AutoGetOplog

    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2024-03-04
    • 135

      Filing this as a followup to SERVER-60016, where in the OplogInfoServerStatus we're accessing the oplog Collection from the CollectionCatalog via a shared_ptr (safe to use outside locks, but then need a GlobalLock to access the oplog's RecordStore. Cleaner to have AutoGetOplog skip the RSTL, so just the GlobalLock is taken (and the PBWM implicitly).

            Assignee:
            adam.farkas@mongodb.com Wolfee Farkas
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: