Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
1.8.2
-
ubuntu, mongod 2.2.2, amazon ec2
Description
Using @client['config'] fails if authentication is required at the mongos.
more, it fails silently due to the
rescue Mongo::OperationFailure
|
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