-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Cluster Scalability
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Resharding recipients clone from donor shards using a hardcoded {mode: "nearest"} read preference. The member within each donor shard is chosen by standard server selection: all members whose RTT from the recipient is within fastest RTT + localThresholdMS (default 15ms) are eligible, one is picked at random, and it is then pinned for the entire clone phase. There is no way to influence this pick.
Add a supported way to select which donor member recipients clone from. For example: a tag set applied to the internal read preference, or designating host(s) per donor shard. This would let users direct clone load away from nodes that are disk-constrained.