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

Accept both 51173 and NoQueryExecutionPlans error codes in min/max tests

    • Query Execution
    • Fully Compatible
    • v8.0
    • QE 2024-04-29
    • 59

      SERVER-88948 changed the error code for min/max hint validation from 51173 -> NoQueryExecutionPlans which causes multiversion failures in: 

      • jstests/core/collation.js
      • jstests/core/query/idhack.js
      • jstests/core/query/minmax.js

      The least invasive solution to fix the multiversion tests is to accept both error codes:

      assert.commandFailedWithCode(err, [51173, ErrorCodes.NoQueryExecutionPlans]); 

            Assignee:
            catalin.sumanaru@mongodb.com Catalin Sumanaru
            Reporter:
            catalin.sumanaru@mongodb.com Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: