-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework, Testing Infrastructure
-
Labels:
-
Query Execution
Running getAggPlanStage() on the explain output for an aggregation that targets multiple shards in a cluster fails, because it expects that exactly one stage with that name exists. We could make an improvement such that if the stage appears in the "shards" part, we assert that it appears identically on each shard and then return it.