Does not support multiple mongodb units

Bug #1131188 reported by Marius B. Kotsbak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
node-app (Juju Charms Collection)
Confirmed
Undecided
Unassigned

Bug Description

If multiple mongodb units are deployed, the node app should probably try to connect with more than one of them, in case that one dies, like this:

"MongoClient.connect("mongodb://localhost:30000,localhost:30001/integration_test_?w=0&readPreference=secondary", function(err, db) {"

Currently, the charm just uses the last associated unit.

William Reade (fwereade)
Changed in node-app (Juju Charms Collection):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.