-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.2.2
-
Component/s: Querying
-
None
-
Environment:pymongo 2.4.1, ubuntu 12.0.4.1 - installation from mongodb-10gen repository
-
ALL
I don't know whether this is because of pymongo.
A replicaset, one member primary, one secondary and one recovering. A pymongo query to the primary with read_preference secondary will throw an error OperationFailure: command SON([('count', u'data.RAW.i612411'), ('fields', None), ('query', {})]) failed: node is recovering.
It is trying to query the recovering node.
- related to
-
PYTHON-454 MongoReplicaSetClient should refresh immediately if we detect a secondary is recovering.
- Closed
-
PYTHON-455 Replica set members not in primary/secondary state should not receive reads
- Closed