mongoose.connectSet() does not provide a way to pass arg for replset config #408

Closed
austinchau opened this Issue Jul 8, 2011 · 1 comment

Comments

Projects
None yet
2 participants

The second arg of the native driver's ReplSetServers should contain the "rs_name" property of the replSet, which currectly has no way of passing this from mongoose ( from mongoose.connectSet() ) to the underlying native driver.

// native driver ReplSetServers

this.db = new mongo.Db(this.name, new ReplSetServers(servers, {rs_name: "my_repl_set_name"}));

aheckmann added a commit that referenced this issue Jul 9, 2011

Merge pull request #405 from kevinmarvin/patch-1
ReplSetServers requires two parameters, apparently... 

Merging while we wait for #408 to be resolved.
Collaborator

aheckmann commented Jul 9, 2011

duplicate of #372. closing

@aheckmann aheckmann closed this Jul 9, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment