-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.2.0-rc0
-
Component/s: Internal Client
-
None
-
ALL
massert( 15899, str::stream() << "No suitable secondary found for slaveOk query in replica set: " << _name, _master >= 0 && _nodes[_master].ok ); // <----------- _master can be out of bounds here // Fall back to primary verify( static_cast<unsigned>(_master) < _nodes.size() );
and here (ReplicaSetMonitor::_check):
probablePrimaryIdx = _find_inlock( maybePrimary ); probablePrimaryConn = _nodes[probablePrimaryIdx].conn;
- is related to
-
SERVER-6512 ReplicaSetMonitor::_checkConnection does not check upper bounds for the indexes
- Closed