Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
2.2.2
-
None
-
pymongo 2.4.1, ubuntu 12.0.4.1 - installation from mongodb-10gen repository
-
ALL
Description
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.
Attachments
Issue Links
- 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
-