-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
For the current code right now, any thread who calls getMaster (and also the ReplicaSetMonitorWatcher) can potentially change the _nodes vector. It is easy for multiple threads to do duplicate work since it is relatively easy for a thread to be replaced by another because it will be blocked when it calls isMaster.
- is related to
-
SERVER-5110 ReplicaSetMonitor::check not thread safe wrt _master
- Closed
-
SERVER-6972 C++ driver should use isMaster, not replSetGetStatus, to monitor health of a replica set
- Closed
-
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