MongoClientURI ignores readPreferenceTags if there is no readPreference

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Configuration
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: