[SERVER-31873] Mongos should retry findAndModify on retryable errors with a txnNumber Created: 08/Nov/17  Updated: 30/Oct/23  Resolved: 11/Nov/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.6.0-rc4

Type: Task Priority: Major - P3
Reporter: Jack Mulrow Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-29631 make FindAndModifyCmd use the ARS Closed
Related
is related to SERVER-28916 Make mongos automatically retry faile... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2017-11-13
Participants:

 Description   

SERVER-28916 made it so bulk writes (inserts, updates, and deletes) are retried by mongos on retryable errors if they have a txnNumber, but currently for findAndModify mongos uses a ShardConnection to send requests to shards, which will not do the same.



 Comments   
Comment by Githook User [ 11/Nov/17 ]

Author:

{'name': 'Kaloian Manassiev', 'username': 'kaloianm', 'email': 'kaloian.manassiev@mongodb.com'}

Message: SERVER-31873 Make mongos retry findAndModify with txnNumber
Branch: master
https://github.com/mongodb/mongo/commit/efea76aea1b32b56503a1ecb954f8e14b8415eae

Generated at Thu Feb 08 04:28:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.