-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
I see how you can set consistency to eventual on get reads off the secondaries
http://mongoid.org/en/mongoid/docs/installation.html#replica
However, there can be replica lag so this isn't safe for most/all situations on our site. We do have specific queries we'd like to run off the secondaries (or at least it's ok if they are eventual). Is there a way to set a query to run off a replica/secondary on a per query basis? Thanks!