Skip to content

Commit a58fce8

Browse files
committed
DOCS-14433 config.transactions read concern disallowed
1 parent 4b16e2c commit a58fce8

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Starting in MongoDB 5.0, non-transaction reads are not allowed on
2+
the :data:`config.transactions` collection with the following
3+
read concerns and options:
4+
5+
- :readconcern:`"snapshot"`
6+
- :readconcern:`"majority"` and the
7+
:ref:`afterClusterTime<afterClusterTime>` option is set
8+
- When using a :driver:`MongoDB Driver </>`
9+
and :readconcern:`"majority"`
10+
within a :ref:`causally consistent session<sessions>`

source/reference/config-database.txt

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ The collections in the ``config`` database support:
2626
Restrictions
2727
------------
2828

29+
.. include:: /includes/fact-5.0-non-transactional-config-reads.rst
30+
2931
.. important:: The schema of the ``config`` database is
3032
*internal* and may change between releases of MongoDB. The
3133
``config`` database is not a dependable API, and users should not

source/release-notes/5.0-compatibility.txt

+5
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,11 @@ Replica Sets
153153
Starting in MongoDB 5.0, :rsconf:`~members[n].secondaryDelaySecs`
154154
replaces ``slaveDelay``. This change is not backwards compatible.
155155

156+
Non-transactional Reads on ``config.transactions``
157+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
158+
159+
.. include:: /includes/fact-5.0-non-transactional-config-reads.rst
160+
156161
Manual Oplog Writes
157162
~~~~~~~~~~~~~~~~~~~
158163

source/release-notes/5.0.txt

+5
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,11 @@ Starting in MongoDB 5.0, these database commands and
370370
Replica Sets
371371
------------
372372

373+
Non-transactional Reads on ``config.transactions``
374+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
375+
376+
.. include:: /includes/fact-5.0-non-transactional-config-reads.rst
377+
373378
``hello`` Command
374379
~~~~~~~~~~~~~~~~~
375380

0 commit comments

Comments
 (0)