[JAVA-4701] Propagate Original Error for Write Errors Labeled NoWritesPerformed Created: 03/Aug/22  Updated: 14/Oct/22  Resolved: 14/Oct/22

Status: Closed
Project: Java Driver
Component/s: Error Handling
Affects Version/s: None
Fix Version/s: 4.8.0

Type: Improvement Priority: Major - P3
Reporter: PM Bot Assignee: Valentin Kavalenka
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
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
Documentation Changes: Not Needed

 Description   

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



 Comments   
Comment by Githook User [ 14/Oct/22 ]

Author:

{'name': 'Valentin Kovalenko', 'email': 'valentin.kovalenko@mongodb.com', 'username': 'stIncMale'}

Message: Propagate the original error for write errors labeled `NoWritesPerformed` (#1013)

JAVA-4701
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/fbc5e4e8b19f086888d37fd76996d55f18ca4898

Generated at Thu Feb 08 09:02:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.