Skip to content

Commit ba2ed1b

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCSP-24523-read-concern-definition (#1755) (#1761)
* DOCSP-24523-read-concern-definition * DOCSP-24523-read-concern-definition * DOCSP-24523-read-concern-definition * DOCSP-24523-read-concern-definition * DOCSP-24523-read-concern-definition * DOCSP-24523-read-concern-definition * DOCSP-24523-read-concern-definition * DOCSP-24523-read-concern-definition * DOCSP-24523-read-concern-definition Co-authored-by: jason-price-mongodb <[email protected]> Co-authored-by: jason-price-mongodb <[email protected]>
1 parent 84b2314 commit ba2ed1b

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
A snapshot is a complete copy of the data in a :binary:`mongod` instance
2+
at a specific point in time. You can retrieve snapshot metadata for the
3+
whole cluster or replica set, or for a single config server in a
4+
cluster. For more details, see `snapshots
5+
<https://www.mongodb.com/docs/cloud-manager/reference/api/snapshots>`__.

source/reference/glossary.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -929,6 +929,9 @@ Glossary
929929
consistency and is the replication topology employed by MongoDB.
930930
See :doc:`/core/replica-set-primary`.
931931

932+
snapshot
933+
.. include:: /includes/snapshot-definition.rst
934+
932935
snappy
933936
A compression/decompression library designed to balance
934937
efficient computation requirements with reasonable compression rates.

source/reference/read-concern-snapshot.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ Read Concern ``"snapshot"``
1717
Read concern ``"snapshot"`` is only available for :doc:`multi-document
1818
transactions </core/transactions>`.
1919

20+
.. include:: /includes/snapshot-definition.rst
21+
2022
- If the transaction is not part of a :ref:`causally consistent session
2123
<sessions>`, upon transaction commit with write concern
2224
:writeconcern:`"majority"`, the transaction operations are guaranteed
23-
to have read from a snapshot of majority-committed data.
25+
to have read from a :term:`snapshot` of majority-committed data.
2426

2527
- If the transaction is part of a :ref:`causally consistent session
2628
<sessions>`, upon transaction commit with write concern

source/reference/read-concern.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ of consistency and availability guarantees as appropriate, such as
2424
waiting for stronger consistency guarantees, or loosening consistency
2525
requirements to provide higher availability.
2626

27-
2827
MongoDB drivers updated for MongoDB 3.2 or later support specifying
2928
read concern.
3029

@@ -186,7 +185,9 @@ The following read concern levels are available:
186185

187186
* - :readconcern:`"snapshot"`
188187

189-
- | If the transaction is not part of a :ref:`causally consistent
188+
- .. include:: /includes/snapshot-definition.rst
189+
190+
| If the transaction is not part of a :ref:`causally consistent
190191
session <sessions>`, upon transaction commit with write
191192
concern :writeconcern:`"majority"`, the transaction operations
192193
are guaranteed to have read from a snapshot of
@@ -225,7 +226,6 @@ For more information on each read concern level, see:
225226
- :doc:`/reference/read-concern-snapshot`
226227
- :doc:`/reference/mongodb-defaults`
227228

228-
229229
``readConcern`` Support
230230
-----------------------
231231

@@ -290,7 +290,6 @@ concern.
290290
For more information, see :ref:`Transaction Read Concern
291291
<transactions-read-concern>`.
292292

293-
294293
Causally Consistent Sessions and Available Read Concerns
295294
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
296295

0 commit comments

Comments
 (0)