-
Type:
Bug
-
Status: Closed
-
Priority:
Major - P3
-
Resolution: Cannot Reproduce
-
Affects Version/s: 2.4.5
-
Fix Version/s: None
-
Component/s: Replication, Sharding
-
Labels:
-
Environment:Running on RHEL , Java driver 2.11.2
-
Operating System:Linux
-
Steps To Reproduce:
During testing we found that setting read Preference to "secondaryPreferred" always fetched records from primary even if the tag was invalid . But the online documentation suggests an error should be thrown " http://docs.mongodb.org/manual/reference/read-preference/#secondaryPreferred " . This leads me to believe Mongos/Java Driver is not respecting tags or behaving otherwise and always reading from primary . Since our actual deployment is large and geographically we need multiple secondaries
- depends on
-
DOCS-2068 Wrong description of secondaryPreferred and tags
-
- Closed
-
- is related to
-
SERVER-11240 Wrong error message when readPreference tags are invalid
-
- Closed
-