Details
-
Task
-
Status: Closed
-
Major - P3
-
Resolution: Incomplete
-
2.2.0-rc0
-
None
Description
Drivers should return useful error messages, as in the following examples, when there are no members matching the ReadPreference:
"PRIMARY cannot be combined with tags"
"No replica set primary available for query with ReadPreference PRIMARY"
"No replica set secondary available for query with ReadPreference SECONDARY"
For NEAREST, PRIMARY_PREFERRED, or SECONDARY_PREFERRED, "No replica set members available for query"
"No replica set member available for query with ReadPreference " + pref + " and tags " + tags
Attachments
Issue Links
- related to
-
SERVER-4464 drivers and mongos should support 5 read preferences
-
- Closed
-