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

The profile command should not take S or X database locks

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v5.0, v4.4, v4.2
    • Sprint:
      Execution Team 2021-06-14
    • Case:

      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

          Issue Links

            Activity

              People

              Assignee:
              benety.goh Benety Goh
              Reporter:
              louis.williams Louis Williams
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: