[SERVER-59781] multi_statement_transaction.js does not retry transaction on StaleConfig Created: 03/Sep/21 Updated: 29/Oct/23 Resolved: 01/Dec/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0, 5.1.2, 5.0.6 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Marcos José Grillo Ramirez | Assignee: | Marcos José Grillo Ramirez |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v5.1, v5.0
|
||||||||
| Sprint: | Sharding EMEA 2021-12-13 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 7 | ||||||||
| Description |
|
A transient error might happen at any point on a multi statement transaction, and the client should be the responsible of retrying in the presence of such errors (like for example a StaleConfig). Something similar to SERVER-58145 could be done, using the auto_retry_transaction_in_sharding.js helper. |
| Comments |
| Comment by Githook User [ 13/Dec/21 ] |
|
Author: {'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}Message: (cherry picked from commit 4bf8144fb6f3aa0779900769c9b4288935da54e0) |
| Comment by Githook User [ 13/Dec/21 ] |
|
Author: {'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}Message: (cherry picked from commit 4bf8144fb6f3aa0779900769c9b4288935da54e0) |
| Comment by Githook User [ 01/Dec/21 ] |
|
Author: {'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}Message: |