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

Support optionally skipping the RSTL lock in AutoGetOplog

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Catalog and Routing

    Description

      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).

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: