[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:
Backports
Depends
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: SERVER-59781 Retry transaction on transient error in multi_statement_transaction.js jstest

(cherry picked from commit 4bf8144fb6f3aa0779900769c9b4288935da54e0)
Branch: v5.0
https://github.com/mongodb/mongo/commit/4d0c448b0940b7be63c6e49f254620c5a50e218f

Comment by Githook User [ 13/Dec/21 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-59781 Retry transaction on transient error in multi_statement_transaction.js jstest

(cherry picked from commit 4bf8144fb6f3aa0779900769c9b4288935da54e0)
Branch: v5.1
https://github.com/mongodb/mongo/commit/64cdeb08d32b40c1a614795b156e49c720c8eacf

Comment by Githook User [ 01/Dec/21 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-59781 Retry transaction on transient error in multi_statement_transaction.js jstest
Branch: master
https://github.com/mongodb/mongo/commit/4bf8144fb6f3aa0779900769c9b4288935da54e0

Generated at Thu Feb 08 05:48:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.