Skip to content

Commit 425fb68

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCSP-33107-read-concern-operation-time-v5.0 (BACKPORT) (#5332)
* DOCSP-33107-read-concern-operation-time-v5.0 * DOCSP-33107-read-concern-operation-time-v5.0 --------- Co-authored-by: jason-price-mongodb <[email protected]>
1 parent dd9e120 commit 425fb68

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

source/includes/fact-runCommand-results.rst

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,34 +7,34 @@
77

88
* - *<command result>*
99

10-
- Result fields specific to the ``command`` that was run.
10+
- Result fields specific to the ``command`` that ran.
1111

1212
* - ``ok``
1313

14-
- A number that indicates whether the command has succeeded
15-
(``1``) or failed (``0``).
14+
- A number that indicates if the command succeeded (``1``)
15+
or failed (``0``).
1616

1717
* - ``operationTime``
1818

1919
- The logical time of the performed operation, represented in
2020
MongoDB by the timestamp from the oplog entry. *Only for replica
2121
sets and sharded clusters*
2222

23-
If the command does not generate an oplog entry, e.g. a read
24-
operation, then the operation does not advance the logical
23+
If the command does not generate an oplog entry, for example, a
24+
read operation, then the operation does not advance the logical
2525
clock. In this case, ``operationTime`` returns:
2626

27-
- For read concern :readconcern:`"local"`, the timestamp of the
28-
most recent entry in the oplog.
27+
- For read concern :readconcern:`"local"`,
28+
:readconcern:`"snapshot"`, and :readconcern:`"linearizable"`,
29+
the timestamp of the most recent entry in the oplog.
2930

30-
- For read concern :readconcern:`"majority"` and
31-
:readconcern:`"linearizable"`, the timestamp of the most
32-
recent :writeconcern:`majority-acknowledged <"majority">`
33-
entry in the oplog.
31+
- For read concern :readconcern:`"majority"`, the timestamp of
32+
the most recent :writeconcern:`majority-acknowledged
33+
<"majority">` entry in the oplog.
3434

35-
For operations associated with :ref:`causally consistent
36-
sessions <causal-consistency>`, MongoDB drivers use this time
37-
to automatically set the :ref:`afterClusterTime`.
35+
For operations associated with :ref:`causally consistent sessions
36+
<causal-consistency>`, the MongoDB drivers use the logical time
37+
to automatically set the :ref:`afterClusterTime` period.
3838

3939
.. versionadded:: 3.6
4040

@@ -52,4 +52,3 @@
5252
of the key used to sign the cluster time.
5353

5454
.. versionadded:: 3.6
55-

0 commit comments

Comments
 (0)