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

Add warning/check mechanism to explain() output for old indexes and multikey

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Query Execution

      I've seen many cases of updating from 3.2 and hitting SERVER-15086. It's not obvious to look for a missing multiKeyPaths field in the output of explain()

      It would be great if explain() could include some heuristic checks (similar to startupWarnings in mongod) which look for common problems are report them in the output as warnings. Something like "Winning index needs to be rebuilt to benefit from SERVER-15086" would be great. 

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            nicholas.cottrell@mongodb.com Nic Cottrell
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: