Skip to content

Commit 62ec840

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCSP-24523-read-concern-definition (BACKPORT) (#1759)
* DOCSP-24882 set window fields and transaction (#1734) * DOCSP-24882-setWindowFields-and-transaction * DOCSP-24882-setWindowFields-and-transaction * DOCSP-24882-setWindowFields-and-transaction * DOCSP-24882-setWindowFields-and-transaction * DOCSP-24882-setWindowFields-and-transaction * DOCSP-24882-setWindowFields-and-transaction * DOCSP-24882-setWindowFields-and-transaction * DOCSP-24882-setWindowFields-and-transaction * DOCSP-24882-setWindowFields-and-transaction * DOCSP-24882-setWindowFields-and-transaction Co-authored-by: jason-price-mongodb <[email protected]> * DOCSP-24882-setWindowFields-update * DOCSP-24523-read-concern-definition (#1755) * 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 23253ee commit 62ec840

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
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
@@ -954,6 +954,9 @@ Glossary
954954
consistency and is the replication topology employed by MongoDB.
955955
See :doc:`/core/replica-set-primary`.
956956

957+
snapshot
958+
.. include:: /includes/snapshot-definition.rst
959+
957960
snappy
958961
A compression/decompression library designed to balance
959962
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
@@ -21,14 +21,16 @@ Read Concern ``"snapshot"``
2121
.. versionadded:: 4.0
2222
.. versionchanged:: 5.0
2323

24+
.. include:: /includes/snapshot-definition.rst
25+
2426
Read concern ``"snapshot"`` is available for :doc:`multi-document
2527
transactions </core/transactions>`, and starting in MongoDB 5.0, certain
2628
read operations outside of multi-document transactions.
2729

2830
- If the transaction is not part of a :ref:`causally consistent session
2931
<sessions>`, upon transaction commit with write concern
3032
:writeconcern:`"majority"`, the transaction operations are guaranteed
31-
to have read from a snapshot of majority-committed data.
33+
to have read from a :term:`snapshot` of majority-committed data.
3234

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

source/reference/read-concern.txt

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

25-
2625
MongoDB drivers updated for MongoDB 3.2 or later support specifying
2726
read concern.
2827

@@ -163,12 +162,14 @@ The following read concern levels are available:
163162

164163
* - :readconcern:`"snapshot"`
165164

166-
- | If a transaction is not part of a :ref:`causally consistent
165+
- .. include:: /includes/snapshot-definition.rst
166+
167+
| If a transaction is not part of a :ref:`causally consistent
167168
session <sessions>`, upon transaction commit with write
168169
concern :writeconcern:`"majority"`, the transaction operations
169170
are guaranteed to have read from a snapshot of
170171
majority-committed data.
171-
172+
172173
| If a transaction is part of a :ref:`causally consistent
173174
session <sessions>`, upon transaction commit with write
174175
concern :writeconcern:`"majority"`, the transaction operations
@@ -192,8 +193,6 @@ The following read concern levels are available:
192193
All other read operations prohibit
193194
:readconcern:`"snapshot"`.
194195

195-
196-
197196
.. include:: /includes/fact-readConcern-most-recent-data-in-node.rst
198197

199198
For more information on each read concern level, see:
@@ -205,7 +204,6 @@ For more information on each read concern level, see:
205204
- :doc:`/reference/read-concern-snapshot`
206205
- :doc:`/reference/mongodb-defaults`
207206

208-
209207
``readConcern`` Support
210208
-----------------------
211209

@@ -270,7 +268,6 @@ concern.
270268
For more information, see :ref:`Transaction Read Concern
271269
<transactions-read-concern>`.
272270

273-
274271
Causally Consistent Sessions and Available Read Concerns
275272
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
276273

0 commit comments

Comments
 (0)