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

The profile command should not take S or X database locks

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • v5.0, v4.4, v4.2
    • Execution Team 2021-06-14

    Description

      The profile command uses Shared and Exclusive locks to observe and change a database's profiling level, respectively.

      These locks are extremely impactful and block read and write operations. Some services poll the profiling state once per minute. We should investigate how to stop taking such strong locks for this command.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: