Investigate NODE-4354 - Unable to specify empty readPreferenceTags in a connection string

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • 1
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      NODE-4354 Description
      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:
              Neal Beeken
              Reporter:
              TPM Jira Automations Bot
              Neal Beeken
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: