-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
None
-
ALL
The RemoteCommandTargeter implementation builds on top of the ReplicaSetMonitor and exposes a synchronous findHost call, which may block on network 'isMaster' call if a master host is not yet known, or if it has been deemed unavailable.
We use findHost in various places where blocking is undesirable (such as while holding the AsyncResultsMerger's mutex).
We should make findHost support asynchronous interface so that if a host of certain read preference is not yet available it will not block, but give an event which can be listened on.
- duplicates
-
SERVER-35689 futurize the RSM API
- Closed
- related to
-
SERVER-35688 Futurize the RSM implementation
- Closed