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

XMLWordPrintableJSON

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

      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
              Reporter:
              Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: