-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 2.6.6, 2.8.0-rc4
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
When a mongod starts with --replSet and finds a config in local.system.replset, it will try to establish connections to the other replica set members. It seems that these initial connection attempts are not timed out, which means there is a possibility we might be hung forever waiting for a response from a down replica set member.
By contrast, when an existing up replset member discovers a new replica set member (via rs.add) but the new member is actually uncontactable, the existing member will timeout the connection attempt. This ticket is to request that the initial connection attempts are timed out in the same way.
In the repo given, prior to restarting the mongod, this node is in SECONDARY. It should be able to resume becoming SECONDARY after being restarted.
Note: Adding a third node fixes this problem, it seems we only need a majority of members contacted for the config load to succeed.
- related to
-
SERVER-16824 Run isSelf concurrently for all members
- Backlog