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

incorrect explain output for covered $or with new query framework

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.0-rc1
    • Affects Version/s: 2.5.5
    • Component/s: Querying
    • Environment:
      mac os x
    • OS X

      On a covered $or query, we expect no objects to be scanned. For each clause, the "nscannedObjects" field is 0, but for the overall query, the "nscannedObjects" field is equal to "nscanned" and > 0.

        1. ornscannedobjects.js
          0.5 kB
          Samantha Ritter

            Assignee:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Reporter:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: