query plan recording may inappropriately record a following or clause

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.7.0
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • 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 Staple (Inactive)
            Reporter:
            Aaron Staple (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: