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

Use LockerImpl for the startup code path instead of LockerNoop

    • Type: Icon: Improvement Improvement
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
    • Storage Execution

      SERVER-26879 proposes getting rid of LockerNoop and de-virtualizing the Locker class.
      SERVER-35970 proposes a similar task to this ticket in the comments; and in the description it proposes a 3rd Locker implementation for startup.

      OperationContextNoop should be looked into as well. The only place it appears to be used in production is the StorageEngineImpl constructor, otherwise just testing.

      SERVER-35970 alludes to the lock manager needing to be initialized earlier during startup in order for the storage engine initialization to use LockerImpls. I have not investigated whether this would be difficult, but there is no known impediment.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: