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

avoid taking the PBWM lock in SessionsCollectionRS::_isStandaloneOrPrimary()

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.3
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2019-12-16
    • 44

      SessionsCollectionRS::_isStandaloneOrPrimary() is used by the PeriodicJob for the LogicalSessionCache on both primaries and secondaries. Because this check relies implicitly on the PBWM lock, this process may be blocked on slow oplog application. It may be possible to modify this function to not require the PBWM lock.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: