Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions source/includes/read-preference-modes-table.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,14 @@
members but if no :term:`secondary` members are available,
operations read from the :term:`primary`.
* - :readmode:`nearest`
- Operations read from member of the :term:`replica
set` with the least network latency, irrespective of the member's type.
- Operations read from a random eligible :term:`replica set`
member, irrespective of whether that member is a :term:`primary`
or :term:`secondary`, based on a specified latency threshold.
The operation considers the following when calculating latency:

- The :urioption:`localThresholdMS` connection string option
- The :ref:`maxStalenessSeconds
<replica-set-read-preference-max-staleness>` read preference
option
- Any specified :doc:`tag sets
</tutorial/configure-replica-set-tag-sets>`