[SERVER-57434] Retry transaction on stale config error in read_concerns.js Created: 04/Jun/21  Updated: 29/Oct/23  Resolved: 10/Jun/21

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

Type: Bug Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
is caused by SERVER-57051 Shard may fail to notify that router ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Sharding EMEA 2021-06-14
Participants:
Linked BF Score: 156

 Description   

When we run read_concerns.js in sharded collection 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 in the context of a transactions so the test should automatically retry in those cases (using one of those retry helper functions)



 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 [ 10/Jun/21 ]

Author:

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

Message: SERVER-57434 Retry transaction on stale config error in read_concerns.js

(cherry picked from commit a6f0f7260c18bb768cc4d3e0d1a7b5859346c99b)
Branch: v5.0
https://github.com/mongodb/mongo/commit/6caccbf93126f041b909f894adf37f89ae40ac2c

Comment by Githook User [ 10/Jun/21 ]

Author:

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

Message: SERVER-57434 Retry transaction on stale config error in read_concerns.js
Branch: master
https://github.com/mongodb/mongo/commit/a6f0f7260c18bb768cc4d3e0d1a7b5859346c99b

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