Skip to content

DOCS-11128: rephrase afterClusterTime reference in read concern docs #3180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 22, 2017
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
18 changes: 10 additions & 8 deletions source/reference/read-concern.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,20 @@ The following read concern levels are available:
.. versionadded:: 3.6

MongoDB introduces the ``afterClusterTime`` option that can be set by
the drivers. Read operations with a specified ``afterClusterTime``
return data that meets the level requirement and the specified after
cluster time requirement.
the drivers.

Read operations with a specified ``afterClusterTime``
return data that meet both the :ref:`read concern level <read-concern-levels>`
requirement and the specified ``afterClusterTime`` requirement.

.. important::

Do not manually set the ``afterClusterTime``. MongoDB drivers set
this value automatically for operations associated with
:ref:`causally consistent sessions <causal-consistency>`.
causally consistent sessions.

:ref:`Causally consistent sessions<causal-consistency>` use
``afterClusterTime`` to provide :ref:`causal consistency <causal-consistency>`.
Causally consistent sessions use the ``afterClusterTime`` value to
provide causal consistency.

``afterClusterTime`` is available for :readconcern:`"local"` (default)
and :readconcern:`"majority"` read concern levels:
Expand All @@ -155,8 +157,8 @@ and :readconcern:`"majority"` read concern levels:
readConcern: { level: <"majority"|"local"> , afterClusterTime: <Timestamp> }

For read operations not associated with causally consistent sessions,
i.e. the ``afterClusterTime`` is unset, reads against secondary members
have the default read concern level :readconcern:`"available"`.
i.e. where the ``afterClusterTime`` is unset, reads against secondary members
have the default read concern level: :readconcern:`"available"`.

.. _read-concern-storage-engine-drivers:

Expand Down