Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commite905ac8

Browse files
committed
minor#13775 [Lock] #37139 Updated Lock MongoDbStore note on readPreference (kralos)
This PR was merged into the 5.1 branch.Discussion----------[Lock] #37139 Updated Lock MongoDbStore note on readPreferenceFixed documentation around `readPreference` for `MongoDbStore` in `Lock` component. Seesymfony/symfony#37140Commits-------98574f5 #37139 Updated Lock MongoDbStore note on readPreference
2 parents0d92891 +98574f5 commite905ac8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎components/lock.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -682,9 +682,10 @@ about `Expire Data from Collections by Setting TTL`_ in MongoDB.
682682
locks don't expire prematurely; the lock TTL should be set with enough extra
683683
time in ``expireAfterSeconds`` to account for any clock drift between nodes.
684684

685-
``writeConcern``, ``readConcern`` and ``readPreference`` are not specified by
686-
MongoDbStore meaning the collection's settings will take effect. Read more
687-
about `Replica Set Read and Write Semantics`_ in MongoDB.
685+
``writeConcern`` and ``readConcern`` are not specified by MongoDbStore meaning
686+
the collection's settings will take effect.
687+
``readPreference`` is ``primary`` for all queries.
688+
Read more about `Replica Set Read and Write Semantics`_ in MongoDB.
688689

689690
PdoStore
690691
~~~~~~~~~~

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp