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

Make query_stats_passthrough only report errors from queries in the current test

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • QO 2023-06-26
    • 5

      BF-29108 has BFGs attached from tons of different tests, even though the error itself only has to do with $geoNear queries. This is because the query stats store is not cleared between tests, and so when we call $queryStats from the background job, we're re-parsing queries from previous tests that ran in the suite. We should modify the suite to:
      1. Always call $queryStats after a test has completed before moving on to the next test
      2. Clear the query stats store after a test has completed before moving on to the next test

            Assignee:
            davis.haupt@mongodb.com Davis Haupt (Inactive)
            Reporter:
            davis.haupt@mongodb.com Davis Haupt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: