[CDRIVER-3607] mongoc_bulk_operation_get_write_concern returns NULL when in transaction Created: 09/Apr/20 Updated: 10/Feb/23 |
|
| Status: | Backlog |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Patrick Freed | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Quarter: | FY24Q3 |
| Description |
|
As the title states, the write concern returned from a bulk write operation is NULL when the operation is part of a transaction. In all other cases, when no write concern is supplied, this function simply returns a default initialized write concern (I think), so this is surprising behavior. |