We still try to plan the query if planning for any of the subqueries returned an error status. This leads us to ignore the "PlanExecutor killed during plan selection" operation failed status that is returned by the MultiPlanStage and still try to build stages when the collection and indexes no longer exist.
// Use the multi plan stage to select a winning plan for each branch, and then construct // the overall winning plan from the resulting index tags. Status subplanSelectStat = choosePlanForSubqueries(yieldPolicy); if (!subplanSelectStat.isOK()) { return choosePlanWholeQuery(yieldPolicy); }
- is depended on by
-
SERVER-25039 Aggregation can attempt to re-plan after collection has been dropped
- Closed