Skip to content

Commit 3caf76a

Browse files
author
Sam Kleinman
committed
read prefs: adding warning about primary prefered and older mongos instances.
1 parent f7aeee5 commit 3caf76a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

source/applications/replication.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,15 @@ behavior <replica-set-read-preference-behavior>`. See also the
251251
operations using the :readmode:`primaryPreferred` mode may return
252252
stale data in some situations.
253253

254+
.. warning::
255+
256+
.. versionchanged:: 2.2
257+
:program:`mongos` added full support for read preferences.
258+
259+
When connecting to a :program:`mongos` instance older 2.2, using
260+
a client that supports read preference modes,
261+
:readmode:`primaryPrefered` will send queries to secondaries.
262+
254263
.. readmode:: secondary
255264

256265
Operations read *only* from the :term:`secondary` members of the set.

0 commit comments

Comments
 (0)