GridStore ignores readPreference in connection string

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.0.44
    • Affects Version/s: 2.0.37
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Christian Amor Kvalheim
              Reporter:
              耀星 张
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: