[SERVER-81978] repl::applyCommand_inlock does not handle TemporarilyUnavailable and TransactionTooLargeForCache exceptions Created: 09/Oct/23 Updated: 30/Nov/23 Resolved: 13/Nov/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0, 7.2.0-rc2, 7.0.5, 7.1.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Josef Ahmad | Assignee: | Haley Connelly |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Storage Execution EMEA
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Backport Requested: |
v7.2
|
||||||||||||||||
| Sprint: | CAR Team 2023-11-13, CAR Team 2023-11-27 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 105 | ||||||||||||||||
| Description |
|
The function catches a DBException and converts it to a Status, then re-throws it if it was a WriteConflict. This leaves TemporarilyUnavailable and TransactionTooLargeForCache exceptions unhandled. The code should directly catch and re-throw StorageUnavailableExceptions. |
| Comments |
| Comment by Githook User [ 29/Nov/23 ] |
|
Author: {'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}Message: (cherry picked from commit bc2e4b24b53d2dd54683d6279ea6cc9e5a5a54e8) |
| Comment by Githook User [ 17/Nov/23 ] |
|
Author: {'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}Message: (cherry picked from commit bc2e4b24b53d2dd54683d6279ea6cc9e5a5a54e8) |
| Comment by Githook User [ 17/Nov/23 ] |
|
Author: {'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}Message: (cherry picked from commit bc2e4b24b53d2dd54683d6279ea6cc9e5a5a54e8) |
| Comment by Githook User [ 13/Nov/23 ] |
|
Author: {'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}Message: |