mongoid/origin — Issue #30: ReplicaSet Config schema since 2.4.6
Author: MobilUser
Created: 2012-03-08 16:00:33+00:00
State: open

I am a bit puzzled on what has changed from previous version to this one. I updated my bundle this morning from mongoid 2.4.5 and mongo 1.6.0 to mongoid 2.4.6 and mongo 1.6.1.
SInce that time I see the following errors/warnings in on my production server:
####
Initiating a ReplSetConnection with seeds passed as individual [host, port] array arguments is deprecated.
Please specify hosts as an array of 'host:port' strings; the old format will be removed in v2.0
max_retries_on_connection_failure is not a valid option for Mongo::ReplSetConnection
hosts is not a valid option for Mongo::ReplSetConnection
database is not a valid option for Mongo::ReplSetConnection
####
My mongoid.yml looks as:
production:
database: xxxx
hosts:
- - s1
- 27017
- - s2
- 27017
- - s3
- 27017
read: :secondary

That produces the warnings ..
Changed also to:
max_retries_on_connection_failure: 5
logger: false
database: xxx
hosts: [[s1, 27017], [s2, 27017], [s3, 27017]]
read: :secondary

Didn't change anything.

So what is the current configuration schema. The mongoid.org docs request the above schema.
By the way, I am on ree-1.8.7-2012.01.

Any hint is appreciated.

Txs