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

Make LockManager a ServiceContext decoration

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • Execution Team 2021-06-14

      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.

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

              Created:
              Updated:
              Resolved: