MongoClient.readPreference always returns primary

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.3, 4.0.0
    • Affects Version/s: 3.6.0, 4.0.0
    • Component/s: Shell
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 (Inactive)
            Reporter:
            Anna Herlihy (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: