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

Disable secondary index consistency check for sensitive tests

    • Replication
    • Fully Compatible
    • Repl 2023-12-25, Repl 2024-01-08, Repl 2024-01-22
    • 5

      Some tests, such as `operation_latency_histogram.js` assert on command counters. SERVER-80339 introduces dbCheck calls for secondary indexes and this requires issuing a `listIndexes` command. This command runs out of band from the test and makes it impossible to reliably test the command counters. We should disable the secondary index checks for the db under test either by hardcoding the database name in the test or, if the passthrough is in the same process, the test can provide the db for which the check should be disabled.

            Assignee:
            m.maher@mongodb.com Moustafa Maher
            Reporter:
            jess.balint@mongodb.com Jess Balint
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: