We need a test in the core directory which verifies array insertion operations.
toInsert = [];
for (i = 0; i < 100 * 1000; ++i) { toInsert.push({_id: i, a: 1}) }
db.foo.insert(toInsert);
- related to
-
SERVER-12763 Shell insert method provides confusing error message when inserting many objects.
- Closed
-
SERVER-66990 restore insert1.js test case
- Closed
-
SERVER-67042 reduce number of documents in bulk insert in insert1.js
- Closed