Details
-
Bug
-
Resolution: Duplicate
-
Minor - P4
-
None
-
3.2.1
-
None
-
ALL
-
Description
Calling getlasterror after inserting a 262144-byte document without an _id via OP_INSERT fails with code 1 and the following message:
Collection::insertDocument got document without _id for ns:JavaDriverTest.com.mongodb.operation.InsertOperationSpecification
|
A 262143-byte document succeeds, and so does a 3.0 server.
I don't see this as particularly severe because most drivers will automatically add an _id field to all documents before insertion.
Attachments
Issue Links
- duplicates
-
SERVER-22167 Failed to insert document larger than 256k
-
- Closed
-