Do not allow BulkWrite objects to be executed multiple times

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 1.2.0
    • Affects Version/s: 1.1.6
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
            Jeremy Mikola
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: