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

query plan recording may inappropriately record a following or clause

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.0
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • Labels:
      None

      Say we have {$or:[

      {a:1}

      ,

      {b:2,c:3}

      ]}. On the initial query most of the result may come from the

      {a:1}

      clause, and only a few results from the

      {b:2,c:3}

      clause. The selection of index

      {b:1}

      or

      {c:1}

      will be based on less data than it would be otherwise, and arguably shouldn't be recorded for future operations.

            Assignee:
            aaron Aaron Staple
            Reporter:
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: