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

Determine if we can avoid global lock upgrade in dbtests/repltests.cpp

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2022-06-13

      Currently in Base(), we take the global lock in IX mode via dbtests::WriteContextForTests, then later in deleteAll(), we upgrade the global lock to X mode via Lock::GlobalWrite. Given that it's just the test construct, this probably isn't a real problem, but we are working to ban upgrading the global lock in SERVER-60621, and this test fails as a result.

            Assignee:
            haley.connelly@mongodb.com Haley Connelly
            Reporter:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: