File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 19
19
members but if no :term: `secondary ` members are available,
20
20
operations read from the :term: `primary `.
21
21
* - :readmode: `nearest `
22
- - Operations read from member of the :term: `replica
23
- set ` with the least network latency, irrespective of the member's type.
22
+ - Operations read from a random eligible :term: `replica set `
23
+ member, irrespective of whether that member is a :term: `primary `
24
+ or :term: `secondary `, based on a specified latency threshold.
25
+ The operation considers the following when calculating latency:
26
+
27
+ - The :urioption: `localThresholdMS ` connection string option
28
+ - The :ref: `maxStalenessSeconds
29
+ <replica-set-read-preference-max-staleness>` read preference
30
+ option
31
+ - Any specified :doc: `tag sets
32
+ </tutorial/configure-replica-set-tag-sets>`
You can’t perform that action at this time.
0 commit comments