-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.0.7, 2.2.0
-
Component/s: Internal Client, Security, Sharding
-
None
-
ALL
It is a part of the driver spec that all drivers should use isMaster for monitoring the health of a replica set and for node discovery. The C++ driver is the only driver that uses replSetGetStatus. This causes several problems, the most major of which is that replSetGetStatus requires auth to run, so it is currently completely impossible to use the C++ driver on an authenticated cluster. Another potential problem is that replSetGetStatus is a heavier command that may take locks and puts more load on the server than isMaster does. Mongos currently isn't using any information from replSetGetStatus that isn't available in isMaster, so we should be able to use isMaster instead without losing any functionality.
- is duplicated by
-
SERVER-9874 Potential deadlock when running connPoolSync
- Closed
- is related to
-
SERVER-5058 mongos should update config seed based on rs version
- Closed
- related to
-
SERVER-9021 Make sure that at most one thread at a time in mongos is making calls to the shard replSets to update the health of the nodes
- Closed
-
SERVER-5392 Consider allowing only one thread to be responsible in modifying _nodes in ReplicaSetMonitor
- Closed