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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Storage
    • None
    • Fully Compatible
    • Execution Team 2020-10-19

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: