[CDRIVER-2384] mongoc_bulk_operation_execute() returns before initializing reply bson_t Created: 17/Nov/17 Updated: 28/Oct/23 Resolved: 18/Nov/17 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Graham Whitted | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
Regression added to 1.6.0 by It is now possible for mongoc_bulk_operation_execute() to return before initializing the reply (i.e. when bulk->client is null). |
| Comments |
| Comment by Githook User [ 18/Nov/17 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis', 'email': 'jesse@mongodb.com'}Message: |
| Comment by Githook User [ 18/Nov/17 ] |
|
Author: {'name': 'Graham Whitted', 'username': 'gwhitted', 'email': 'graham.whitted@disneyanimation.com'}Message: Fixed monogc_bulk_operation_execute() so that it behaves as documented |
| Comment by Graham Whitted [ 17/Nov/17 ] |
| Comment by A. Jesse Jiryu Davis [ 17/Nov/17 ] |
|
Nice catch, thanks. Want to make a pull request to master on GitHub? |