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

Avoid global lock upgrade in storage_timestamp_test.cpp

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

      Investigation to ban global lock upgrades is ongoing in SERVER-60621. While working on dependent SERVER-61788, avoid the lock upgrade in StorageTimestampTest.SecondaryInsertTimes, we have found that MultiDocumentTransactionTest also fails due to a global lock upgrade from MODE_IS to MODE_IX in the constructor of MongoDOperationContextSession.

      This issue does not appear to be with the test itself, but something general.

      Attached backtrace.log.
      Comment from Dan Larkin-York.

        1. backtrace.log
          46 kB
        2. SERVER-66609_backtrace.txt
          46 kB
        3. SERVER-66609_print_stack_on_global_lock.log
          488 kB

            Assignee:
            yujin.kang@mongodb.com Yujin Kang Park
            Reporter:
            yujin.kang@mongodb.com Yujin Kang Park
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: