Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-170

Don't set write concern on mongoc_bulk_operation_t unnecessarily

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.2.0
    • Affects Version/s: 0.1.4
    • Component/s: None
    • Labels:
      None

      Calling mongoc_bulk_operation_set_write_concern(NULL) (i.e. when we know no write concern zval was received by a write method) results in libmongoc overwriting the existing write concern with a new object. Ideally, we should inherit the client's write concern.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: