Allow forcing :read => :secondary to be strict

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 1.6.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Brock (Inactive)
              Reporter:
              Greg Brockman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: