Add forQueryShapeOnly to expCtx

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      With the LiteParsedDesugarer refactor, we will have some pipeline parses being used only for query shape. This is because we will then desugar the lite parsed pipeline and "re-parse" the pipeline, this time for optimization/execution.

      On this first parse for query shape only, it will be necessary to skip incrementing certain counters and calls, such as planShardedSearch. As such, it's necessary to track the "type" of parse in expCtx.

            Assignee:
            Josh Siegel
            Reporter:
            Josh Siegel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: