mongoc_bulkwrite_t does not assert consistency between its assigned client and session. This was likely an oversight in CDRIVER-4363 but can be addressed when implementing a new mongoc_bulkwrite_set_client() API in CDRIVER-5816 (since the client setter should also assert, as is done in the original mongoc_bulk_operation_t API).
- is related to
-
CDRIVER-4363 Improved Bulk Write API
- Closed
-
CDRIVER-5816 Allow constructing mongoc_bulkwrite_t without a client
- Closed