-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.1.2
-
Component/s: Internal Client, Internal Code
-
ALL
_nodes is the data structure for storing the replica node members of a replica set inside ReplicaSetMonitor and _master is used to store the index that points to the last known primary. The updates done on these two data structure is never atomic and the this is an issue especially when the _nodes shrinks and the _master points to the last element of _nodes.
- is duplicated by
-
SERVER-6512 ReplicaSetMonitor::_checkConnection does not check upper bounds for the indexes
- Closed
- related to
-
SERVER-6548 Unsafe use of _master in ReplicaSetMonitor::_check() and ReplicaSetMonitor::check() can lead to segfault
- Closed