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

Add query settings fallback reason field to explain output

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    Description

      Introduce a query settings fallback reason field in the explain response, denoting why the fallback mechanism was engaged. This should only be visible if:

      • Query Settings are present on the given query.
      • The application of said settings caused an non-ok status, and the fallback mechanism was engaged.

      This reason can be bubbled up from get_executor.cpp prepare() call. Also, considering that explain commands bypass the plan cache, it's safe to assume that each explain call will go through planning.

       

      Attachments

        Activity

          People

            catalin.sumanaru@mongodb.com Catalin Sumanaru
            catalin.sumanaru@mongodb.com Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: