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

Avoid global lock upgrade in storage_timestamp_test.cpp

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-06-13

    Description

      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.

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: