-
Type: Task
-
Resolution: Done
-
Priority: Blocker - P1
-
Affects Version/s: 1.0.0-beta1
-
Component/s: None
-
None
As of libmongoc 1.2.0-rc0 and CDRIVER-710, mongoc_write_result_t's old writeConcernError BSON document field has been replaced with a writeConcernErrors BSON array. Handling for this needs to be updated.
For now, WriteResult::getWriteConcernError() can remain as-is and simply return the first write concern error, which is compliant with the Bulk API spec as discussed in SPEC-340.
- depends on
-
CDRIVER-710 Wrong writeConcernErrors format
- Closed
- is depended on by
-
PHPC-434 WriteResult should merge multiple write concern errors
- Closed
- related to
-
PHPC-438 WriteResult debug handler should display null for a missing writeConcernError
- Closed