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

Consolidate "index filter applied" query planning stats logic for explain/planCacheListCommands

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Querying
    • Query
    • ALL

    Description

      The "plans.filterSet" field from the planCacheListPlans command output is generated by piping a boolean to the cache through the following member variables:

      • QueryPlannerParams::indexFiltersApplied
      • QuerySolution::indexFilterApplied
      • SolutionCacheData::indexFilterApplied

      In contrast, the "queryPlanner.indexFilterSet" field for the explain command is supported by directly accessing the QuerySettings for the given collection (which may be out of date).

      These approaches should be unified and simplified.

      Attachments

        Activity

          People

            backlog-server-query Backlog - Query Team (Inactive)
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: