Details
-
Bug
-
Resolution: Incomplete
-
Major - P3
-
None
-
4.0.3
-
None
-
None
-
ALL
-
Description
I insert a single document of size 16,777,200 bytes via mongocxx's bulk write. But the server (running v4.0.3) returns an error which says "object to insert too large. size in bytes: 16777217, max size: 16777216". It looks like the server thinks that the object 17 bytes bigger than what I sent. Why could this be happening? How can I avoid this error while using bulk write via mongocxx?