-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
If aggregate is called with $out no results are returned from the cursor. This is expected behavior since the output is instead stored to an output collection. Sadly, if the application also passes a batchSize of 0 the $out stage is never run. See SERVER-23923 for details.
This seems like an unlikely scenario, but we should work around it.
- is depended on by
-
DRIVERS-432 Resync CRUD tests to update insertMany test format to a map
- Closed
-
DRIVERS-587 Drivers should ignore batchSize=0 for aggregate with $out
- Closed