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

Remove PlanCacheIndexabilityState from the PlanCache

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • QO 2021-09-20, QO 2021-10-04

    Description

      As part of this task we should:

      1. Make index discriminators that we store within the PlanCache as part of PlanCacheIndexabilityState available outside of the PlanCache. That would mean moving PlanCacheIndexabilityState into CollectionQueryInfo.
      2. Refactor PlanCache and remove any references to CanonicalQuery.
      3. Change the classic PlanCacheKey implementation so that it can be constructed from a CanonicalQuery and a Collection and change the call sites to construct and pass a PlanCacheKey rather than a CanonicalQuery to the PlanCache API.

      Attachments

        Activity

          People

            anton.korshunov@mongodb.com Anton Korshunov
            anton.korshunov@mongodb.com Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: