[SERVER-46256] Make extractHedgeOptions take in ReadPreferenceSetting Created: 19/Feb/20  Updated: 29/Oct/23  Resolved: 20/Feb/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.3.4

Type: Improvement 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

Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2020-02-24
Participants:

 Description   

extractHedgeOptions should take in the read preference from the AsyncRemoteSender instead of from the operation context which we sometime override to specify primary only for writes. Also, this function was not updated correctly in SERVER-46234, it should not take in cmdObj anymore. 



 Comments   
Comment by Githook User [ 20/Feb/20 ]

Author:

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

Message: SERVER-46256 Make extractHedgeOptions take in ReadPreferenceSetting
Branch: master
https://github.com/mongodb/mongo/commit/35667cfb9ef6c4400eea314ec15da36d1880ebca

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