Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4355

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

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

      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@mongodb.com Neal Beeken
            Reporter:
            dbeng-pm-bot PM Bot
            Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: