query being routed to recovering node when read_preference is secondary

XMLWordPrintableJSON

    • 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Brian Reed
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: