{"issue":{"created_at":"2011-11-25T12:30:30Z","state":"open","updated_at":"2011-11-26T00:36:28Z","comments":5,"user":{"gravatar_id":"ad418e3e53e0ba71ba56b7df978671e8","id":33538,"url":"https://api.github.com/users/novemberborn","login":"novemberborn","avatar_url":"https://secure.gravatar.com/avatar/ad418e3e53e0ba71ba56b7df978671e8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"If I try to connect to a ReplSet the CPU of node proc will spike to 100% within half a minute. \r\n\r\nTest script:\r\n\r\n```js\r\n\r\nvar mongodb = require(\"mongodb\");\r\n\r\nvar options = {};\r\n\r\nvar replSet = new mongodb.ReplSetServers([\r\n  new mongodb.Server(\"mongo-1\", 27017, options),\r\n  new mongodb.Server(\"mongo-2\", 27017, options),\r\n  new mongodb.Server(\"mongo-3\", 27017, options)\r\n]);\r\nvar db = new mongodb.Db(\"database\", replSet);\r\ndb.open(function(err, client){\r\n  // Not even doing anything here\r\n});\r\n```\r\n","assignee":null,"id":2348911,"number":416,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"Using ReplSet causes 100% CPU usage with v0.9.7.1","closed_at":null,"html_url":"https://github.com/christkv/node-mongodb-native/issues/416","milestone":null,"url":"https://api.github.com/repos/christkv/node-mongodb-native/issues/416"},"action":"created","comment":{"created_at":"2011-11-26T00:36:28Z","updated_at":"2011-11-26T00:36:28Z","user":{"gravatar_id":"ad418e3e53e0ba71ba56b7df978671e8","id":33538,"url":"https://api.github.com/users/novemberborn","login":"novemberborn","avatar_url":"https://secure.gravatar.com/avatar/ad418e3e53e0ba71ba56b7df978671e8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Admittedly the latest 0.4 release is 0.4.12, but I'm not sure I can deploy that version to our servers to verify.","id":2879218,"url":"https://api.github.com/repos/christkv/node-mongodb-native/issues/comments/2879218"}}