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

Do not allow BulkWrite objects to be executed multiple times

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2.0
    • Affects Version/s: 1.1.6
    • Component/s: None
    • Labels:
      None

      Although libmongoc allows a mongoc_bulk_operation_t to be executed multiple times, it does not make sense to do so. It is also prone to duplicate key errors, since we generate _id values when documents are scheduled for insertion (see: PHPC-360).

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

              Created:
              Updated:
              Resolved: