[CXX-1536] Use libmongoc "with_opts" bulk operation functions Created: 25/Mar/18 Updated: 28/Oct/23 Resolved: 22/May/18 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Implementation |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Simplify Bulk API |
| Description |
|
Use mongoc_bulk_operation_insert_with_opts instead of the older mongoc_bulk_operation_insert, and the same for the other bulk operation CRUD functions. The new functions return errors immediately if something is wrong; e.g., if the mongoc_bulk_operation_t was created with the wrong sessionId in "opts". |
| Comments |
| Comment by Githook User [ 21/May/18 ] |
|
Author: {'username': 'ajdavis', 'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com'}Message: Also test errors returned from libmongoc bulk functions. |