-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
None
_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:
/**
- If true, when a write fails, return without performing the remaining
- writes. If false, when a write fails, continue with the remaining writes, if any.
- Defaults to true.
*/
ordered: Boolean;
- has to be done after
-
CDRIVER-3306 Do not assume non-empty server reply implies stream is still valid
- Closed
-
CDRIVER-3587 Do not reuse server stream that becomes invalid on failure to end session
- Closed
- related to
-
CDRIVER-3239 Driver aborts during OP_MSG bulk write if command fails mid batch
- Closed