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

Investigate if we can ban upgrading the global lock

    XMLWordPrintable

Details

    • Task
    • Status: Open
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • Execution Team 2021-11-29, Execution Team 2022-12-26
    • 169

    Description

      Upgrading the global lock mode without first releasing the lock held can have bad side effects (namely deadlock and resource exhaustion). We've removed some cases where this can happen (most recently in SERVER-59219). We think we can explicitly ban this behavior in code, as it could help us identify additional bugs we haven't hit yet, and avoid future ones. That said, there are some instances where we currently upgrade the global lock, and we'll need to fix these first.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-execution Backlog - Storage Execution Team
              dan.larkin-york@mongodb.com Dan Larkin-York
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: