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

Query Planner Explain for Find

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.2
    • Component/s: Querying
    • Labels:
      None

      Description

      Get explain of find() to work through the legacy $explain at “queryPlanner” verbosity.

      Implementation strategy:
      • Expose a static method or function which takes a BSONObjBuilder and a pointer to a tree of stages. Should be able to convert this into the BSON for the queryPlanner section.
      • Leave existing explain implementation intact until it is truly dead code that can be deleted.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: