christkv/node-mongodb-native — Issue #504: "A Server or ReplSetServers instance cannot be shared across multiple Db instances"
Author: metaleap
Created: 2012-02-10 08:56:39+00:00
State: open

Hi folks,

just grabbed the newest mongodb-native and code that was working fine previously now throws:

Error: A Server or ReplSetServers instance cannot be shared across multiple Db instances
at new Db (/Users/x/y/node_modules/mongodb/lib/mongodb/db.js:71:11)
at ....

And why's that? Do I have to clone my Server object for each of my Databases now? I do see some "override_used_flag" flag that is checked in your db.js before the error is raised, which I can turn on... but since my stuff isn't working with this either (just silently not doing it's db to-dos without raising any errors or warnings... ugh) I turned it back off.

Any ideas?