[DRIVERS-2395] Add test that reads are not retried in a transaction Created: 22/Jul/22 Updated: 01/Sep/23 Resolved: 01/Sep/23 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | Retryability, Transactions |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Changes: | Needed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Downstream Changes Summary: | Drivers should update unified transaction tests to this commit. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
SummaryAdd a missing test case to assert that a driver does not retry a read when in a transaction. This would have prevented The requirement is in the retryable reads specification in the when not to allow retry section. MotivationWho is the affected end user?Driver authors How likely is it that this problem or use case will occur?This seems like an easy bug for a driver to have or introduce, and it's hard to detect since it depends on a server failure at just the right time If the problem does occur, what are the consequences and how severe are they?Applications won't get the benefit of the convent transaction API's automatic retry mechanism if a driver has this bug Is this issue urgent?Yes, since we want to fix the Java driver bug and need a test to assert correct behavior. Is this ticket required by a downstream team?No Is this ticket only for tests?It's a missing test of required behavior |
| Comments |
| Comment by Githook User [ 22/Jul/22 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}Message: |
| Comment by Githook User [ 22/Jul/22 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}Message: |