[GODRIVER-2516] Propagate Original Error for Write Errors Labeled NoWritesPerformed Created: 03/Aug/22  Updated: 09/Nov/22  Resolved: 13/Sep/22

Status: Closed
Project: Go Driver
Component/s: Retryability
Affects Version/s: None
Fix Version/s: 1.11.0

Type: Bug Priority: Major - P3
Reporter: PM Bot Assignee: Preston Vasquez
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-2327 Propagate Original Error for Write Er... Implementing
Problem/Incident
causes GODRIVER-2651 Operation returns nil error if origin... Closed
Server Compat: 6.1
Quarter: FY23Q3
Upstream Changes Summary:

DRIVERS-2327:
Drivers need to implement a new retryable writes prose test (see mongodb/specifications@e4a5564), and implement operation error handling such that if a retry event fails with an error labeled NoWritesPerformed the original error is propagated.


 Description   

This ticket was split from DRIVERS-2327, please see that ticket for a detailed description.



 Comments   
Comment by Githook User [ 15/Sep/22 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: GODRIVER-2516 Fix labeled typo. (#1072)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/4bd2795a85689adcb10c3658677a33798e25bfd8

Comment by Githook User [ 13/Sep/22 ]

Author:

{'name': 'Preston Vasquez', 'email': '24281431+prestonvasquez@users.noreply.github.com', 'username': 'prestonvasquez'}

Message: GODRIVER-2516 NoWritesPerformed Operation Error Handling (#1052)

Co-authored-by: Benjamin Rewis <32186188+benjirewis@users.noreply.github.com>
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/b65b46139392cc41665d81f379bd93ec81e9956b

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