[CDRIVER-657] Large inserts not split into batches with write commands Created: 15/May/15  Updated: 18/May/15  Resolved: 18/May/15

Status: Closed
Project: C Driver
Component/s: Bulk API, libmongoc
Affects Version/s: None
Fix Version/s: 1.1.6

Type: Bug Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-255 New write operation method for insert... Closed

 Description   

Insert six 4MB documents with a mongoc_bulk_operation_t and execute it. It should send the inserts in batches of less than 16MB each, but when using write commands the driver attempts to send a single 24MB write command to the server, which causes the server to hang up.

Check updates and removes, too.



 Comments   
Comment by Githook User [ 18/May/15 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-523 and CDRIVER-657 - update NEWS
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/71e32fef9d415126b950562c09cd5e2864537cc3

Comment by Githook User [ 18/May/15 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-657 - split large inserts, fix upsert offset

Simplify and correct how bulk operations are split into batches. Fix "offset"
calculations for merged "upserts" array in bulk operation result.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/11a63f9a85c2ab632db32a4354f73c29b99da1cf

Generated at Wed Feb 07 21:10:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.