Currently, when we run findSelfInConfig, the isSelf logic checks the fast path for a specific HostAndPort and uses the slow path if it does not succeed. Ideally, it should run the fast path for all HostAndPorts, and if any of them don't succeed, then we should move on to the slow path. This should speed up the discovery time.
- is related to
-
SERVER-64750 Only check isSelf for reconfigs when we have to
- Closed
-
SERVER-72980 Configurable replSetReconfig isSelf socket timeouts
- Backlog