Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
Description
On the page http://docs.mongodb.org/manual/applications/replication/#nearest, it states that
"If you specify a tag set, the client attempts to find a secondary member that matches the specified tag set and directs reads to a random secondary from among the nearest group."
This makes it seem that the "nearest" read preference in combination with tag sets only allows reading from secondaries, which is incorrect.
Additionally, the use of the word "random" is misleading because the choice of node depends on implementation. Recommended is either removing it or replacing with "arbitrary".