Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 98574f5

Browse filesBrowse files
author
Joe Bennett
committed
#37139 Updated Lock MongoDbStore note on readPreference
1 parent e464daf commit 98574f5
Copy full SHA for 98574f5

File tree

1 file changed

+4
-3
lines changed
Filter options

1 file changed

+4
-3
lines changed

‎components/lock.rst

Copy file name to clipboardExpand all lines: components/lock.rst
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,9 +647,10 @@ about `Expire Data from Collections by Setting TTL`_ in MongoDB.
647647
locks don't expire prematurely; the lock TTL should be set with enough extra
648648
time in ``expireAfterSeconds`` to account for any clock drift between nodes.
649649

650-
``writeConcern``, ``readConcern`` and ``readPreference`` are not specified by
651-
MongoDbStore meaning the collection's settings will take effect. Read more
652-
about `Replica Set Read and Write Semantics`_ in MongoDB.
650+
``writeConcern`` and ``readConcern`` are not specified by MongoDbStore meaning
651+
the collection's settings will take effect.
652+
``readPreference`` is ``primary`` for all queries.
653+
Read more about `Replica Set Read and Write Semantics`_ in MongoDB.
653654

654655
PdoStore
655656
~~~~~~~~~~

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.