[SERVER-84264] Make DBClientBase for the shell never uassert StaleConfig internally Created: 17/Dec/23  Updated: 20/Dec/23  Resolved: 20/Dec/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-83078 Add jscore passthrough testing for co... Closed
Related
is related to SERVER-39227 Mongos should always return original ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Cluster Scalability 2023-12-25
Participants:

 Description   

DBClientBase created by the shell should not throw on a StaleConfig error since the shell cannot handle this error and for transactions throwing this error from inside DBClientBase makes the error lose the TransientTransactionError label, which would mislead the external client (e.g. auto_retry_transactions.js) to not retry the transaction when it should.



 Comments   
Comment by Githook User [ 19/Dec/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-84264 Make DBClientBase for the shell never uassert StaleConfig internally (#17654)

GitOrigin-RevId: 66e350dedaf3e6da743cd2d0de080f400b57277e
Branch: master
https://github.com/mongodb/mongo/commit/bbb472209634fcf1125798226edc9b03582f7212

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