{"issue":{"milestone":null,"user":{"id":49093,"login":"jplock","url":"https://api.github.com/users/jplock","avatar_url":"https://secure.gravatar.com/avatar/68bd1e5c9320a6f41678d1217f65f768?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"68bd1e5c9320a6f41678d1217f65f768"},"title":"Reads on primary in replicaset","created_at":"2011-12-15T22:51:10Z","updated_at":"2011-12-16T18:32:35Z","labels":[],"state":"open","id":2573750,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/christkv/node-mongodb-native/issues/446","closed_at":null,"body":"We noticed when reading from a replicaset that the primary only handles writes while all the reads go to the secondaries (we have 3 secondaries in our configuration).  is this by design or potentially a bug?  We would have thought reads would also be handled by the primary.  Great work btw.  The node-mongo driver with mongoose is a pleasure to work with.","number":446,"url":"https://api.github.com/repos/christkv/node-mongodb-native/issues/446","comments":1,"assignee":null},"comment":{"user":{"id":5569,"login":"christkv","url":"https://api.github.com/users/christkv","avatar_url":"https://secure.gravatar.com/avatar/a132807512f576d8b2394a7a8b0379a0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a132807512f576d8b2394a7a8b0379a0"},"created_at":"2011-12-16T18:32:35Z","updated_at":"2011-12-16T18:32:35Z","id":3180851,"body":"Hmm nothing in npm version 0.9.7.2-1 would cause that. In the latest version you have to set readPreference or read_secondary to true otherwise it will read from primary. But it's been like that for a while.","url":"https://api.github.com/repos/christkv/node-mongodb-native/issues/comments/3180851"},"action":"created"}