[SERVER-50470] Make persistParticipantsList convert TransactionCoordinatorReachedAbortDecision to NoSuchTransaction Created: 21/Aug/20 Updated: 29/Oct/23 Resolved: 15/Oct/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0, 4.4.2 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Haley Connelly | Assignee: | Andrew Shuvalov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v4.4
|
||||||||||||
| Sprint: | Sharding 2020-10-05, Sharding 2020-10-19 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 40 | ||||||||||||
| Description |
|
Currently, persistParticipantsList never converts the exception thrown, "ErrorCodes::TransactionCoordinatorReachedAbortDecision", when the two phase commit deadline exceeds the time limit, causing the invariant to be hit. Instead, if the transaction times out while the persisting the participants, persistParticipantsList should convert the exception to be NoSuchTransaction - similar to what sendPrepareToShard does. |
| Comments |
| Comment by Githook User [ 15/Oct/20 ] |
|
Author: {'name': 'Andrew Shuvalov', 'email': 'andrew.shuvalov@mongodb.com', 'username': 'shuvalov-mdb'}Message: |
| Comment by Andrew Shuvalov (Inactive) [ 15/Oct/20 ] |
|
Reopen to submit the change to disable the test version permutation |
| Comment by Githook User [ 12/Oct/20 ] |
|
Author: {'name': 'Andrew Shuvalov', 'email': 'andrew.shuvalov@mongodb.com', 'username': 'shuvalov-mdb'}Message: (cherry picked from commit 11d461d8335e5b63d2bd2d5509dd32b0775f1700) |
| Comment by Andrew Shuvalov (Inactive) [ 09/Oct/20 ] |
|
Prevented me from closing while backport is open. Will finish it soon... |
| Comment by Githook User [ 09/Oct/20 ] |
|
Author: {'name': 'Andrew Shuvalov', 'email': 'andrew.shuvalov@mongodb.com', 'username': 'shuvalov-mdb'}Message: |
| Comment by Andrew Shuvalov (Inactive) [ 07/Oct/20 ] |
|
Tickets filed as follow up: https://jira.mongodb.org/browse/SERVER-51417 and https://jira.mongodb.org/browse/SERVER-51325 |