Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7977

query being routed to recovering node when read_preference is secondary

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.2.2
    • Component/s: Querying
    • Labels:
      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.

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

              Created:
              Updated:
              Resolved: