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

Investigate and fix test failure in jstests/core/index_stats.js

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Minor Change
    • QE 2022-04-04

      This issue happens when featureFlagSBELookupPushdown is turned on.

      test file: jstests/core/index_stats.js

      error message:

      [js_test:index_stats] assert: [2] != [NumberLong(0)] are not equal : Expected each lookup to be tracked as an index use
      [js_test:index_stats] doassert@src/mongo/shell/assert.js:20:14
      [js_test:index_stats] assert.eq@src/mongo/shell/assert.js:179:17
      [js_test:index_stats] @jstests/core/index_stats.js:233:8
      [js_test:index_stats] @jstests/core/index_stats.js:305:3
      [js_test:index_stats] uncaught exception: Error: [2] != [NumberLong(0)] are not equal : Expected each lookup to be tracked as an index use :
      [js_test:index_stats] doassert@src/mongo/shell/assert.js:20:14
      [js_test:index_stats] assert.eq@src/mongo/shell/assert.js:179:17
      [js_test:index_stats] @jstests/core/index_stats.js:233:8
      [js_test:index_stats] @jstests/core/index_stats.js:305:3
      

            Assignee:
            rui.liu@mongodb.com Rui Liu
            Reporter:
            yoonsoo.kim@mongodb.com Yoon Soo Kim
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: