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

Do not discard results of cached plans with $group stages

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

      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@mongodb.com Irina Yatsenko (Inactive)
            Reporter:
            irina.yatsenko@mongodb.com Irina Yatsenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: