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

Disallow the use of sparse indexes with $facet + $lookup

    • 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
    • 5

      SERVER-64082 discussed the usage of wildcard index/sparse index in $lookup and decided not to use any sparse indexes in $lookup. The banning logic was introduced by SERVER-65665  but $lookup in a $facet seems to still use a wildcard index on the foreign collection.

            Assignee:
            ruoxin.xu@mongodb.com Ruoxin Xu
            Reporter:
            ruoxin.xu@mongodb.com Ruoxin Xu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: