Better error message when ignoring user-specified read preference results in a failure

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.11.1
    • Component/s: Monitoring
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The driver has an internal list of commands that are allowed to be sent to a secondary. If the command is not on the list, we redirect it to primary, regardless of the requested read preference.

      The driver tell the user this and error messages that result from not being able to talk to a primary are misleading. Error messages should indicate clearly that the read preference was switched to primary.

            Assignee:
            Unassigned
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: