-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.8.2
-
Component/s: Sharded Cluster
-
Environment:ubuntu, mongod 2.2.2, amazon ec2
Using @client['config'] fails if authentication is required at the mongos.
more, it fails silently due to the
rescue Mongo::OperationFailure
block below...
We did a patch and its now working
config_db = @client['config'] config_db.authenticate('...','...') seeds = config_db['mongos'].find.to_a.map{|doc| doc['_id']}
Thanks
Boaz