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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • Query
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Backlog - Query Team (Inactive)
            Reporter:
            J Rassi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: