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

queryStats for distinct on standalone is not recording docsReturned and exec time stats

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

      Run a queryStats aggregation on distinct. All of the fields relating to exec time or docsReturned in the metrics of the queryStatsStore entry will be 0.

      Show
      Run a queryStats aggregation on distinct. All of the fields relating to exec time or docsReturned in the metrics of the queryStatsStore entry will be 0.

      Distinct on standalone is missing a call to setEndOfOpMetrics() in distinct.cpp which records docsReturned and all of the execution time stats for queryStats. They are all 0.

            Assignee:
            claudia.cortell@mongodb.com Claudia Cortell (Inactive)
            Reporter:
            claudia.cortell@mongodb.com Claudia Cortell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: