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

Use getEngine to determine sbe value when testing explain in expr_index_use.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2024-06-24, QE 2024-07-08
    • 200

      There can be cases where we run in a mixed cluster, i.e. determine the value of sbe enabled from a node, and assert on another node with sbe not enabled. This is problematic for assertions for explain. We should instead use the getEngine check on the explain output to determine which engine is used. This will ensure we actually read the node's value. 

            Assignee:
            adi.agrawal@mongodb.com Adi Agrawal
            Reporter:
            adi.agrawal@mongodb.com Adi Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: