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

Make LockManager a ServiceContext decoration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.1.0-rc0
    • None
    • Fully Compatible
    • Execution Team 2021-06-14

    Description

      LockManager is accessed via a process global here and is used by a pre-init PeriodicTask here. We should change LockManager to be a ServiceContext decoration and rewrite that PeriodicTask as a PeriodicJob. This will limit use of the LockManager to the lifetime of the ServiceContext.

      Attachments

        Issue Links

          Activity

            People

              benety.goh@mongodb.com Benety Goh
              ben.caimano@mongodb.com Benjamin Caimano (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: