Make query_stats_passthrough only report errors from queries in the current test

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Davis Haupt (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: