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

lock_stats_suboperation_logs.js should ignore noise lock stats

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.10, 4.0.5, 4.1.5
    • Component/s: Storage
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0, v3.6
    • Sprint:
      Storage NYC 2018-11-19
    • Linked BF Score:
      18

      Description

      This is a test-fix only ticket. The issue only happens to MMAPV1 on v3.6 and v4.0.

      lock_stats_suboperation_logs.js scans every line from the logs and captures any lock waiting stats. The assumption is that only two lines will be captured: they are the logs for the sub-command and the parent command. Also, their lock waiting time should be the same.
      However, the assumption does not always hold: the logs being scanned include logs from validation hooks and MMAPV1 JournalFlushLock are taken during this stage. It's possible that there are some wait for this lock so the test failed due to these noise lock stats.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: