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

Allow forcing :read => :secondary to be strict

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.6.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Currently, setting :read => :secondary on a ReplSetConnection can still result in reads going to the primary, e.g. if all secondaries are down. A feature I would find useful would be a flag to ensure that my :read => :secondary connections never hit the master but instead throw an exception if no slave is available.

            Assignee:
            tyler@10gen.com Tyler Brock
            Reporter:
            gdb Greg Brockman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: