CurOp::_lockStatsBase is never set

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: 5.0.0
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2023-02-06, Service Arch 2023-02-20
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Each CurOp is meant to store a snapshot of its opCtx's lock stats taken at the time of the CurOp's creation. These snapshots would then be used when retrieving the stats for a given sub-operation to subtract out any stats recorded by its super-operations.

      However, the snapshots are never actually being taken and stored properly, so this subtraction is never occurring. As a result, all sub-operations report lock acquisition stats made by their super-operations.

            Assignee:
            Patrick Freed
            Reporter:
            Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: