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

GridStore ignores readPreference in connection string

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.44
    • Affects Version/s: 2.0.37
    • Component/s: None

      I have a stackoverflow question to describe the issue. http://stackoverflow.com/questions/32454447/mongodb-native-driver-seems-to-be-ignoring-readpreference-nearest/32494323#32494323
      After reading the code I find that GridStore actually ignores readPreference from connection string while writeConcern is inherited from there. This seems very much like a bug. Is it expected behavior?

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            yaoxing.zhang@gmail.com 耀星 张
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: