[DRIVERS-766] Use RetryableWriteError label to determine retryable errors Created: 12/Nov/19  Updated: 18/Nov/19  Resolved: 18/Nov/19

Status: Closed
Project: Drivers
Component/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Emily Giurleo (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends

 Description   

A write error is now considered retryable if it has a RetryableWriteError label in the "errorLabels" field.

See the Determining Retryable Writes section for more information on how the driver should determine which write errors are retryable.

This change also involves implementing new spec tests that use the failCommand fail point to make sure that drivers are retrying writes based on the presence of the RetryableWriteError label, rather than error codes.

See this PR for complete changes.



 Comments   
Comment by Rathi Gnanasekaran [ 18/Nov/19 ]

Dup of DRIVERS-525.

Generated at Thu Feb 08 08:22:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.