-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.6.0-rc1
-
Component/s: Shell
-
ALL
-
If you create a bulk operation with an empty batch and execute it, the API returns a valid BulkWriteResult but there is no validation of the argument to execute.
We should be consistent with parameter validation regardless of backend execution.
- is related to
-
SERVER-12977 Write commands should error on empty array of operations
- Closed
- related to
-
SERVER-15119 Accept a named "writeConcern" option for bulk.execute
- Closed