Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3305

OP_MSG unordered bulk writes should not stop upon first error

      _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;

            Assignee:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: