[CDRIVER-3305] OP_MSG unordered bulk writes should not stop upon first error Created: 11/Aug/19 Updated: 28/Oct/23 Resolved: 02/Apr/20 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | Bulk API, libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | 1.17.0-beta, 1.17.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kevin Albertson | Assignee: | Roberto Sanchez |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
_mongoc_write_opmsg sets the write result's must_stop to true upon any error in sending the write command. This bubbles up to mongoc_bulk_operation_execute here causing the entire bulk operation to fail. Per the crud spec for the "ordered" option of bulk writes:
|
| Comments |
| Comment by Githook User [ 02/Apr/20 ] |
|
Author: {'name': 'Roberto C. Sánchez', 'email': 'roberto@connexer.com', 'username': 'rcsanchez97'}Message: |