Warn when a command is redirected to the primary and read preference is not primary

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.7
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Only a small subset of commands obey the read preference specified by the user (see the secondary_ok_commands attribute of the read_preferences module). All other commands are directed to the current primary, regardless of read preference. We should warn when this occurs.

      http://docs.python.org/2/library/exceptions.html#exceptions.UserWarning

              Assignee:
              Amalia Hawkins (Inactive)
              Reporter:
              Bernie Hackett
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: