[SERVER-41134] Add RSM::findHostsWithMaxWait Created: 13/May/19  Updated: 29/Oct/23  Resolved: 28/May/19

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.1.13

Type: New Feature Priority: Major - P3
Reporter: Mira Carey Assignee: Mira Carey
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-41543 make RSM::getHostsOrRefresh return un... Closed
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2019-05-20, Service Arch 2019-06-03
Participants:

 Description   

Add support for a new method on the ReplicaSetMonitor, which finds all acceptable hosts for a read preference (rather than just a single host).

This should use existing selection logic to return the host that would be returned by findHostWithMaxWait in the [0]th element



 Comments   
Comment by Githook User [ 28/May/19 ]

Author:

{'name': 'Jason Carey', 'email': 'jcarey@argv.me', 'username': 'hanumantmk'}

Message: SERVER-41134 Add RSM::findHostsWithMaxWait

Add support for a new method on the ReplicaSetMonitor, which finds all
acceptable hosts for a read preference (rather than just a single host).

This should use existing selection logic to return the host that would
be returned by findHostWithMaxWait in the [0]th element
Branch: master
https://github.com/mongodb/mongo/commit/6aab87a22ec4bd89c8ef6495eeaded0829ccff7f

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