Support optionally skipping the RSTL lock in AutoGetOplog

XMLWordPrintableJSON

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

      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:
              Wolfee Farkas
              Reporter:
              Dianna Hohensee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: