-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
Fully Compatible
Bonsai already handles a limited form of the optimization described in SERVER-31082. Let's add a test to demonstrate this.
- related to
-
SERVER-31082 when $count is at the end of multiple stages that don't change the number of documents in pipeline, those stages can be eliminated
- Backlog