QueryAnalysisSampler undercounts aggregate operations

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • ALL
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-123987 moved aggregate commands from opcounters.queries to a new dedicated opcounters.aggregates counter, but did not update QueryAnalysisSampler::QueryStats::refreshTotalCount() in query_analysis_sampler.cpp. This means the sampler still reads opcounters.queries (which no longer includes aggregates), causing it to undercount total query traffic and produce skewed sampling proportions.

            Assignee:
            Daniel Segel
            Reporter:
            Daniel Segel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: