[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: |
|
||||||||
| 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: |
| 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: Simplify and correct how bulk operations are split into batches. Fix "offset" |