Closed jmikola closed 9 months ago
https://jira.mongodb.org/browse/DRIVERS-1641
Also clarify that pre-4.4 writeErrors[].code should never be used to determine retryability. This is intentionally untested because failCommand does not provide a way to mock writeErrors.
POC: https://github.com/mongodb/mongo-c-driver/pull/1501
Patch build: https://spruce.mongodb.com/version/65a19aa461837db75d4d8efe/tasks (4.2-replica-auth and 4.2-sharded-auth are the relevant tasks).
Please complete the following before merging:
Reverting to draft until I can address DRIVERS-2802.
https://jira.mongodb.org/browse/DRIVERS-1641
Also clarify that pre-4.4 writeErrors[].code should never be used to determine retryability. This is intentionally untested because failCommand does not provide a way to mock writeErrors.
POC: https://github.com/mongodb/mongo-c-driver/pull/1501
Patch build: https://spruce.mongodb.com/version/65a19aa461837db75d4d8efe/tasks (4.2-replica-auth and 4.2-sharded-auth are the relevant tasks).
Please complete the following before merging: