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

MongoClient.readPreference always returns primary

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.3, 4.0.0
    • Affects Version/s: 3.6.0, 4.0.0
    • Component/s: Shell
    • Labels:
      None

      https://github.com/mongodb/node-mongodb-native/blob/master/src/mongo_client.ts#L297-L299 

       

      Required for the shell's `getReadPref` and `getReadPrefTagSet`

            Assignee:
            thomas.reggi@mongodb.com Thomas Reggi (Inactive)
            Reporter:
            anna.herlihy@mongodb.com Anna Herlihy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: