[CDRIVER-4449] Propagate Original Error for Write Errors Labeled NoWritesPerformed Created: 03/Aug/22  Updated: 28/Oct/23  Resolved: 10/Nov/22

Status: Closed
Project: C Driver
Component/s: Retryability
Affects Version/s: None
Fix Version/s: 1.24.0

Type: Bug Priority: Major - P3
Reporter: PM Bot Assignee: Gil Alon
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by PHPLIB-935 Propagate Original Error for Write Er... Closed
Issue split
split from DRIVERS-2327 Propagate Original Error for Write Er... Implementing
Related
related to CDRIVER-4531 Break NoWritesPerformed-Only Error Se... 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.

Backwards Compatibility: Fully Compatible

 Description   

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



 Comments   
Comment by Githook User [ 10/Nov/22 ]

Author:

{'name': 'Gil Alon', 'email': '47804748+galon1@users.noreply.github.com', 'username': 'galon1'}

Message: CDRIVER-4449 Return original error for writeErrors with label NoWritesPerformed (#1142)

CDRIVER-4449 add prose test and store original error with retryWrites
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/77aab8594f74b5a602855011c68fa0f70301572b

Generated at Wed Feb 07 21:20:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.