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

Fix lock stats suboperation tests for mobile

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.7, 4.1.9
    • Storage
    • Fully Compatible
    • ALL
    • v4.0
    • Storage NYC 2019-03-11
    • 0

    Description

      This is only a test fix.

      lock_stats_suboperation_curop.js and lock_stats_suboperation_logs.js don't work with mobile storage engine because

      1. There is only one level of locking so we can't use currentOp() (which takes a global S lock) to capture an in-progress index build (which takes a global X lock).
      2. The assumption that parent operation and the sub-operation have the same lock waiting time seems to be affected by noise very easily.

      Attachments

        Activity

          People

            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: