[CDRIVER-648] nInserted incremented despite error Created: 14/May/15 Updated: 03/May/17 Resolved: 19/Jun/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | Bulk API, libmongoc |
| Affects Version/s: | 0.94.0 |
| 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 | ||
| Description |
|
Starting at this commit: the nInserted number reported for a batch OP_INSERT is incremented, even for documents the server rejects. Observed in mongoc_bulk_operation_insert, may be the same for all insert APIs. |
| Comments |
| Comment by Githook User [ 19/Jun/15 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: Starting at commit 48a85995 the nInserted number reported for a batch OP_INSERT |
| Comment by Githook User [ 16/Jun/15 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: refactor write commands Send insert, update, and delete commands with the same function.
|