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

DB stats (and potentially other commands) do not honor readPreference

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.4
    • Affects Version/s: 1.3
    • Component/s: None
    • Environment:
      node 0.8.25
      mongo 2.4.5
      node-mongodb-native 1.3.19

      To reproduce:

      1. Bring up a replicaset "rs" with hosts (localhost: 30001, 30002, 30003)
      2. Run attached script
      3. Monitor logs and observe command gets sent to primary

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            bhangm Shubhang Mani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: