Do not discard results of cached plans with $group stages

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QE 2021-11-29, QE 2021-12-13
    • 135
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-58429 allows lowering $group stages into the find subsystem in the situations of multi-planning and caching. However, the initial implementation does the runtime trials of the plans prior to extending them with the agg stages so it has to discard the results of the winning plan and the cached plan, even if the plan is accepted. The former we cannot easily fix but the latter should be fixable after SERVER-61046 is done.

            Assignee:
            Irina Yatsenko (Inactive)
            Reporter:
            Irina Yatsenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: