Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOCS-14433 config.transactions read concern disallowed #5784

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions source/includes/fact-5.0-non-transactional-config-reads.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Starting in MongoDB 5.0, non-transaction reads are not allowed on
the :data:`config.transactions` collection with the following
read concerns and options:

- :readconcern:`"snapshot"`
- :readconcern:`"majority"` and the
:ref:`afterClusterTime<afterClusterTime>` option is set
- When using a :driver:`MongoDB Driver </>`
and :readconcern:`"majority"`
within a :ref:`causally consistent session<sessions>`
2 changes: 2 additions & 0 deletions source/reference/config-database.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ The collections in the ``config`` database support:
Restrictions
------------

.. include:: /includes/fact-5.0-non-transactional-config-reads.rst

.. important:: The schema of the ``config`` database is
*internal* and may change between releases of MongoDB. The
``config`` database is not a dependable API, and users should not
Expand Down
5 changes: 5 additions & 0 deletions source/release-notes/5.0-compatibility.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ Replica Sets
Starting in MongoDB 5.0, :rsconf:`~members[n].secondaryDelaySecs`
replaces ``slaveDelay``. This change is not backwards compatible.

Non-transactional Reads on ``config.transactions``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. include:: /includes/fact-5.0-non-transactional-config-reads.rst

Manual Oplog Writes
~~~~~~~~~~~~~~~~~~~

Expand Down
5 changes: 5 additions & 0 deletions source/release-notes/5.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,11 @@ Starting in MongoDB 5.0, these database commands and
Replica Sets
------------

Non-transactional Reads on ``config.transactions``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. include:: /includes/fact-5.0-non-transactional-config-reads.rst

``hello`` Command
~~~~~~~~~~~~~~~~~

Expand Down