-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
Hi,
using commands such as rake db:mongoid:remove_indexes RAILS_ENV=production; with a replica set will raise an error : "not master"
If the consistency is set to :strong everything works fine.
So I think those commands are targeting secondaries instead of master.