If you try to insert a large number of objects using the insert([]) method on a collection in the shell, you get back a confusing error message:
2014-02-18T11:00:51.406-0500 Cannot output SingleWriteResult from multiple batch result at src/mongo/shell/bulk_api.js:245
- is duplicated by
-
SERVER-12864 insert of array of documents fails in shell for array 1000+ and gives bad error message
- Closed
-
SERVER-13154 shell doesn't correctly handle multi-batch insert([]) ops
- Closed
- is related to
-
SERVER-13119 Create JS test for inserting from an array in jstest/core
- Closed
- related to
-
SERVER-13172 Cryptic error when trying to update with a valid big document
- Closed
-
SERVER-66990 restore insert1.js test case
- Closed
-
SERVER-67042 reduce number of documents in bulk insert in insert1.js
- Closed