-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
4.2 servers may optimize away aggregation pipelines that can be computed using a query (SERVER-24860). This caused an unexpected test failure in testExplainOption, since the test was looking for a "stages" field within the aggregate result's first and only document. We do not map the explain result (unlike RUBY-1788), so a quick fix would just be to relax this assertion to allow either "stages" or "queryPlanner".
- is caused by
-
SERVER-24860 Optimize away entire pipeline if it can be answered using a query
- Closed
- is related to
-
RUBY-1788 Aggregate explain broken on 4.2 server
- Closed