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

Fix lock stats suboperation tests for mobile

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.7, 4.1.9
    • Affects Version/s: None
    • Component/s: Storage
    • Fully Compatible
    • ALL
    • v4.0
    • Storage NYC 2019-03-11
    • 0

      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.

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

              Created:
              Updated:
              Resolved: