Relax index_stats.js test for lookup

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2025-09-01
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Due to changes in SERVER-89650, sharding may retry an operation due to stale shard version.

      This can cause index usage counters to be incremented several times, which canĀ  make tests like index_stats.js flaky.

      In this ticket I propose to simplify logic in index_stats.js around $lookup to just check that it is counted without asserting exact numbers.

            Assignee:
            Ivan Fefer
            Reporter:
            Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: