[JAVA-3721] Do not add the RetryableWriteError label to errors that occur during a write within a transaction (excepting commitTransaction and abortTransaction) Created: 04/May/20 Updated: 28/Oct/23 Resolved: 20/May/20 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Transaction Management |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Backlog - Core Eng Program Management Team | Assignee: | John Stewart (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Epic Link: | Java MongoDB 4.4 Support | ||||
| Description |
|
The corresponding spec change clarifies the conditions under which the driver should add the RetryableWritesError label to errors within a transaction, and adds some transaction tests to ensure that the driver does not add the label to errors that occur on writes within a transaction. |
| Comments |
| Comment by Githook User [ 20/May/20 ] |
|
Author: {'name': 'John Stewart', 'email': 'john.stewart@mongodb.com', 'username': 'jstewart-mongo'}Message: Add RetryableWriteError label when retryWrites=true
|
| Comment by Jeffrey Yemin [ 16/May/20 ] |
|
john.stewart looks like these tests are failing in some configurations: https://evergreen.mongodb.com/version/mongo_java_driver_a7fb5cffa6b1517e6e8bbcd7001d9a4f5a943d26 |
| Comment by Githook User [ 13/May/20 ] |
|
Author: {'name': 'John Stewart', 'email': 'john.stewart@mongodb.com', 'username': 'jstewart-mongo'}Message: Do not add the RetryableWriteError label to errors that occur during
|