christkv/node-mongodb-native — Issue #487: db.open callback not fired in replica set with v0.9.8-3
Author: ngsiolei
Created: 2012-01-24 11:12:50+00:00
State: open

In replica set with v0.9.8-3, see the below code, I expect the debug message in Db.open callback is printed out, but nothing (both debug message and error message) is displayed in console, the same code works fine in v0.9.7, am i missing sth?

```
var Server = require('mongodb').Server;
var ReplSetServers = require('mongodb').ReplSetServers;
var Db = require('mongodb').Db;
var replSet = new ReplSetServers([
new Server('192.168.51.11', 27017, {auto_reconnect: true}),
new Server('192.168.51.21', 27017, {auto_reconnect: true}),
new Server('192.168.51.22', 27017, {auto_reconnect: true}),
],
{rs_name: 'mlocal'}
);
var db = new Db('ml', replSet);
db.open(function (error, client) {
console.log('debug...');
if (error) throw error;
});
```