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

Investigate removing <dbname>.system.views CollectionLocks from the ViewCatalog functions

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Execution Team 2020-10-19

      CollectionLock invariants that an appropriate DBLock is held. Lock-free reads do not take that DBLock. Also, lock-free reads do not want to take any collection or database level locks, including <db>.system.views collection locks. We need to remove them, or find another solution if needs be. Looks like SERVER-40992 originally added the view collection locks.

            Assignee:
            henrik.edin@mongodb.com Henrik Edin
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: