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

WiredTigerStats reported in curOp can accumulate from previous operations in bulk writes

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 5.0.25
    • Component/s: None
    • Storage Execution
    • ALL
    • Execution Team 2024-06-24, Execution Team 2024-07-22, Execution Team 2024-09-30, Execution Team 2024-10-14, Execution Team 2024-10-28, Execution Team 2024-11-11

      We set the storage stats that we want to report in curop here with the assumption that computeOperationStatisticsSinceLastCall() is called at the end of every operation. However, it is possible not to meet these conditions ( + this on previous versions) resulting in some operations not calling computeOperationStatisticsSinceLastCall(). When we eventually do call the method on a slow op we want to log, _sessionStatsAfterLastOperation can be stale and we end up reporting storage stats that include prior operations.

            Assignee:
            shinyee.tan@mongodb.com Shin Yee Tan
            Reporter:
            shinyee.tan@mongodb.com Shin Yee Tan
            Votes:
            2 Vote for this issue
            Watchers:
            27 Start watching this issue

              Created:
              Updated: