Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-547

Support readPreference in connection URIs

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.8.3
    • Affects Version/s: 1.8.2
    • Component/s: Replica Set
    • None

      According to the connection string documentation, connection URIs should support '?readPreference=PREF' to specify a read preference when connecting to a replica set, but mongo-ruby-driver does not seem to.

      http://docs.mongodb.org/manual/reference/connection-string/

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            nelhage Nelson Elhage
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: