[SERVER-58316] Handle stale config exception during txn in start_transaction_with_read.js Created: 07/Jul/21  Updated: 29/Oct/23  Resolved: 08/Jul/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 5.0.0-rc7
Fix Version/s: 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: None
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.0
Sprint: Sharding EMEA 2021-07-12
Participants:
Linked BF Score: 33

 Description   

Stale Config exception inside transaction are not automatically retried by the mongos, so we should use withTxnAndAutoRetryOnMongos help function to make the test automatically retry this transient errors



 Comments   
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 [ 20/Jul/21 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-58316 Handle stale config exception during txn in start_transaction_with_read.js

(cherry picked from commit 5ba21d9178b09e27bf63646537c0c0e1e558503a)
Branch: v5.0
https://github.com/mongodb/mongo/commit/f05e8e0d9a9b01e4013aa5ae216fcbc3ef5530a1

Comment by Githook User [ 08/Jul/21 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-58316 Handle stale config exception during txn in start_transaction_with_read.js
Branch: master
https://github.com/mongodb/mongo/commit/5ba21d9178b09e27bf63646537c0c0e1e558503a

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