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

fix sbe/classic test when sharding is enabled

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2024-02-19, QE 2024-03-04
    • 156

      We use the presence of executionStats docsExamined field to detect whether SBE or classic is being used: https://github.com/10gen/mongo/blob/1fb5ac482b2f857305f3224bd7e99d071fff1e6e/jstests/libs/clustered_collections/clustered_collection_bounded_scan_common.js#L46-L50

      However when sharding is enabled, the docsExamined field shows up underneath the shard results rather than at the top level. We should check in both places.

            Assignee:
            colin.stolley@mongodb.com Colin Stolley
            Reporter:
            colin.stolley@mongodb.com Colin Stolley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: