[SERVER-52692] Use "nearest" read preference for ReshardingCollectionCloner's distributed aggregation Created: 09/Nov/20  Updated: 29/Oct/23  Resolved: 31/Dec/20

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

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Fixed Votes: 0
Labels: PM-234-M2, PM-234-T-data-clone
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-01-11
Participants:
Story Points: 1

 Description   

request.setUnwrappedReadPref(ReadPreferenceSetting{ReadPreference::Nearest}.toContainingBSON());

https://github.com/mongodb/mongo/blob/30d7437961ad9dffbad2d99e2a32947c02637c89/src/mongo/db/s/resharding/resharding_collection_cloner.cpp#L170-L171



 Comments   
Comment by Githook User [ 31/Dec/20 ]

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: SERVER-52692 Use "nearest" read pref in ReshardingCollectionCloner.
Branch: master
https://github.com/mongodb/mongo/commit/1cd598a3dbfca4a3e29037d6f1d30750ed962d07

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