Harden tests relying on scannedObjects metrics

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • ALL
    • v8.3
    • QE 2026-05-11
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The jstests/aggregation/sources/unionWith/unionWith_query_stats.js test checks that the scannedObjects metrics is incremented by exactly the number of documents read during a $unionWith pipeline. However, background tasks can scan a few more documents during the operation, making the test failĀ 

            Assignee:
            Alberto Massari
            Reporter:
            Alberto Massari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: