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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.3
    • Component/s: Storage
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: