[SERVER-84020] Add query settings fallback reason field to explain output Created: 08/Dec/23 Updated: 08/Dec/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Catalin Sumanaru | Assignee: | Catalin Sumanaru |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | M3 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| 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:
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.
|