-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
Document needs update.
As of mongo-1.6.2, Mongo::ReplSetConnection returns the following message:
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
With the following mongoid.yml.
hosts: - - 10.0.0.1 - 27017 - - 10.0.0.2 - 27017
It now has to be written in this way:
hosts: - - 10.0.0.1:27017 - 10.0.0.2:27017