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

Investigate removal of locking in SBE PlanExecutor

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2023-11-13, QE 2023-11-27

    Description

      Inside PlanExecutorSBE::getNextImpl there is currently a call to AutoGetCollection.

      If the lock has been acquired before for lock-free reads and we do not have the PBWM lock this call will acquire it. The acquisition in this case would be out of order and can lead to deadlocks.

      Attachments

        Activity

          People

            projjal.chanda@mongodb.com Projjal Chanda
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: