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

Remove PlanCacheIndexabilityState from the PlanCache

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • QO 2021-09-20, QO 2021-10-04

      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.

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

              Created:
              Updated:
              Resolved: