Skip to content

Commit 9dba386

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCSP-24523-read-concern-definition (#1755) (#1764)
* 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 3cbba57 commit 9dba386

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
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
@@ -912,6 +912,9 @@ Glossary
912912
consistency and is the replication topology employed by MongoDB.
913913
See :doc:`/core/replica-set-primary`.
914914

915+
snapshot
916+
.. include:: /includes/snapshot-definition.rst
917+
915918
snappy
916919
A compression/decompression library designed to balance
917920
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
@@ -14,13 +14,15 @@ Read Concern ``"snapshot"``
1414

1515
.. versionadded:: 4.0
1616

17+
.. include:: /includes/snapshot-definition.rst
18+
1719
Read concern ``"snapshot"`` is only available for :doc:`multi-document
1820
transactions </core/transactions>`.
1921

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 & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ of consistency and availability guarantees as appropriate, such as
2525
waiting for stronger consistency guarantees, or loosening consistency
2626
requirements to provide higher availability.
2727

28-
2928
MongoDB drivers updated for MongoDB 3.2 or later support specifying
3029
read concern.
3130

@@ -181,7 +180,9 @@ The following read concern levels are available:
181180

182181
* - :readconcern:`"snapshot"`
183182

184-
- | If the transaction is not part of a :ref:`causally consistent
183+
- .. include:: /includes/snapshot-definition.rst
184+
185+
| If the transaction is not part of a :ref:`causally consistent
185186
session <sessions>`, upon transaction commit with write
186187
concern :writeconcern:`"majority"`, the transaction operations
187188
are guaranteed to have read from a snapshot of
@@ -220,7 +221,6 @@ For more information on each read concern level, see:
220221
- :doc:`/reference/read-concern-snapshot`
221222
- :doc:`/reference/mongodb-defaults`
222223

223-
224224
``readConcern`` Support
225225
-----------------------
226226

0 commit comments

Comments
 (0)