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 23
23
members but if no :term: `secondary ` members are available,
24
24
operations read from the :term: `primary `.
25
25
* - :readmode: `nearest `
26
- - Operations read from member of the :term: `replica
27
- set ` with the least network latency, irrespective of the member's type.
26
+ - Operations read from a random eligible :term: `replica set `
27
+ member, irrespective of whether that member is a :term: `primary `
28
+ or :term: `secondary `, based on a specified latency threshold.
29
+ The operation considers the following when calculating latency:
30
+
31
+ - The :urioption: `localThresholdMS ` connection string option
32
+ - The :ref: `maxStalenessSeconds
33
+ <replica-set-read-preference-max-staleness>` read preference
34
+ option
35
+ - Any specified :doc: `tag sets
36
+ </tutorial/configure-replica-set-tag-sets>`
You can’t perform that action at this time.
0 commit comments