Details
-
Bug
-
Resolution: Done
-
Major - P3
-
1.8.1
-
None
-
None
Description
In accordance with the ReadPreference spec the driver coerces the ReadPreference to Primary for any command that is not allowed to be sent to a secondary.
However, since this was implemented, the ReadPreference spec has been amended to state that this coercion should only happen when connected to a replica set. In particular, it should NOT be done when connected directly to a secondary.