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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Case:

      Description

      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. 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-query-execution Backlog - Query Execution
              Reporter:
              nicholas.cottrell Nic Cottrell
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: