[CDRIVER-713] Legacy OP_INSERTs batched when they shouldn't be Created: 18/Jun/15 Updated: 03/May/17 Resolved: 20/Jun/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | Bulk API, libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | None |
| 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: |
|
||||||||
| Comments |
| Comment by Githook User [ 20/Jun/15 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: Converse of |
| Comment by Githook User [ 20/Jun/15 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: Restores spec'ed behavior of mongoc_bulk_operation_insert that was broken in https://github.com/mongodb/specifications/blob/master/source/driver-bulk-update.rst#pre-2-6-support |
| Comment by A. Jesse Jiryu Davis [ 19/Jun/15 ] |
|
mongoc_bulk_operation_insert should send OP_INSERT one at a time in order to do individual error reporting as specified: https://github.com/mongodb/specifications/blob/master/source/driver-bulk-update.rst#pre-2-6-support But starting here: https://github.com/ajdavis/mongo-c-driver/commit/a25ee18a2bb398e56c1cba45f466febf7a9b1ee8 ... mongoc_bulk_operation_insert incorrectly coalesces OP_INSERT in large batches. |