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

MongoClientURI ignores readPreferenceTags if there is no readPreference

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Configuration
    • None

    Description

      For example, the read preference for this URI

      new MongoClientURI("mongodb://localhost/?readpreferencetags=dc:ny");

      will default to primary and ignore the tags. Instead, it should throw an exception.

      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: