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

Enable $hint to use the clusterKey of a clustered collection

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.2.0
    • None
    • Fully Compatible
    • Execution Team 2021-10-18, Execution Team 2021-11-01, Execution Team 2021-11-15

    Description

      One possible route to take:
      QueryPlannerParams store the indices available for planning. Currently, $hint requires the key provided to exist in QueryPlannerParams.indices. The QueryPlanner should be modified to consider the QueryPlannerParams.clusterKey a valid hint despite its absence in the list of indices.

      Attachments

        Issue Links

          Activity

            People

              haley.connelly@mongodb.com Haley Connelly
              haley.connelly@mongodb.com Haley Connelly
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: