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

Add query settings fallback reason field to explain output

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None

      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.

       

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

              Created:
              Updated: