Fix lock stats suboperation tests for mobile

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
            Reporter:
            Xiangyu Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: