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

query being routed to recovering node when read_preference is secondary

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 2.2.2
    • Querying
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: