Wrong reply from unacknowledged bulk writes

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.4.0
    • Affects Version/s: None
    • Component/s: Bulk API, libmongoc
    • None
    • None
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None

      Create a bulk operation with writeConcern w: 0 and run mongoc_bulk_operation_execute. The reply is:

      { "nInserted" : 0, "nMatched" : 0, "nModified" : 0, "nRemoved" : 0, "nUpserted" : 0, "writeErrors" : [  ] }
      

      ... regardless of what operations were executed. Instead, return the empty BSON "{}".

      This bugfix is also a minor API change, so highlight it in the 1.4.0 release notes, and do not backport.

              Assignee:
              A. Jesse Jiryu Davis
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: