-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
3ee5fbb for CDRIVER-3462 originally added this logic to mongoc_error_has_label(), but this is not needed. Per DRIVERS-1385, no stable release of the server has ever returned error labels within the writeConcernError field of a command response.
Since syncing spec tests for DRIVERS-1385 in CDRIVER-4210, there is no longer any case where libmongoc would encounter error labels within writeConcernError (they were previously added to synthetic failCommand responses).
This was pointed out by kevin.albertson@mongodb.com in the mongodb/mongo-c-driver#1501 for CDRIVER-4754.
- is related to
-
CDRIVER-3462 Expand use of error labels for RetryableWrites
- Closed
-
CDRIVER-4210 Make retryable write test error labels behave consistently with server
- Closed
-
CDRIVER-4754 Clarify exactly what code/label fields drivers should inspect to determine retryability
- Closed