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

MongoClient.readPreference always returns primary

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.6.0, 4.0.0
    • 3.6.3, 4.0.0
    • Shell
    • None

    Description

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

       

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: