Unable to specify empty readPreferenceTags in a connection string

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      According to the docs it should be possible to specify an empty readPreferenceTags, so that we can fallback to all nodes in a replica set. But due to this check it leads to an error.

      Steps to reproduce

      Use a connection string like this

      ...&readPreferenceTags=x:y&readPreferenceTags=...

              Assignee:
              Daria Pardue
              Reporter:
              Aliaksei Tuzik
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: