Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-8175

Investigate changes in SERVER-92843: Hidden 2d Indexes used by the Query Planner

    • Type: Icon: Investigation Investigation
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • Developer Tools
    • Not Needed

      Original Downstream Change Summary

      Some $geoNear queries used to fail with IndexNotFound unnecessarily, in the case where there are multiple geo indexes and we thought we couldn't deduce which to use, even though some of the geo indexes were hidden so that we could deduce which to use. Now, those queries will not fail and will give correct results instead.

      Description of Linked Ticket

      Hidden indexes are supposed to be hidden from the query planner, however when there are 2 2d indexes with one hidden, the query planner fails with: "There is more than one 2d index"

            Assignee:
            Unassigned Unassigned
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: