Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-809

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 2.11.1
    • Monitoring
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: