[SERVER-58485] Retry transaction on transient errors in api_params_transaction.js Created: 13/Jul/21  Updated: 29/Oct/23  Resolved: 14/Jul/21

Status: Closed
Project: Core Server
Component/s: Sharding, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 5.0.4, 5.1.0-rc0

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

Attachments: Text File bf_21762_reproducible.patch    
Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Sharding EMEA 2021-07-26
Participants:

 Description   

When we run api_params_transaction.js in sharded clusters pass-through suites the command executed inside the transaction could potentially return a stale version error to the client because the mongos is not retrying those errors, so the test should automatically retry in those cases (using for example a helper function like this test)



 Comments   
Comment by Githook User [ 25/Oct/21 ]

Author:

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

Message: SERVER-58485 Add retry to insert inside transactions to prevent transient errors

(cherry picked from commit 987dfecbced2a5f8f84e0197c68649bb1c20e8c4)
Branch: v5.0
https://github.com/mongodb/mongo/commit/1b6756337268640c7e738ad7660a356c64ceb6b1

Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 14/Jul/21 ]

Author:

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

Message: SERVER-58485 Add retry to insert inside transactions to prevent transient errors
Branch: master
https://github.com/mongodb/mongo/commit/987dfecbced2a5f8f84e0197c68649bb1c20e8c4

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