-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 #5783
DOCS-14433 config.transactions read concern disallowed #5783
Conversation
@@ -0,0 +1,10 @@ | |||
Starting in MongoDB 5.0, non-transaction reads are not allowed on | |||
:ref:`config.transactions<config.transactions>` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two things:
- Please use
:data:`config.transactions`
for this link instead of a ref
link.
- I think we should say:
not allowed on the :data:`config.transactions` collection with the following...
- :ref:`read concern "snapshot"<readconcern-snapshot>` | ||
- :ref:`read concern "majority"<readconcern-majority>` and the | ||
:ref:`afterClusterTime<afterClusterTime>` option is set | ||
- When using a `MongoDB Driver <https://docs.mongodb.com/drivers/?tck=docs_server>`_ | ||
and :ref:`read concern "majority"<readconcern-majority>` | ||
within a :ref:`causally consistent session<sessions>` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update these to use the :readconcern:
links instead of refs
@@ -10,6 +10,8 @@ Read Concern ``"majority"`` | |||
:depth: 1 | |||
:class: singlecol | |||
|
|||
.. _readconcern-majority: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need to add these refs. .. readconcern:: "majority"
you can already point to this place in the docs by using:
:readconcern:`"majority"`
- :ref:`read concern "snapshot"<readconcern-snapshot>` | ||
- :ref:`read concern "majority"<readconcern-majority>` and the | ||
:ref:`afterClusterTime<afterClusterTime>` option is set | ||
- When using a `MongoDB Driver <https://docs.mongodb.com/drivers/?tck=docs_server>`_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can do:
:driver:`MongoDB Driver </>`
This is defined in the snooty rst spec: https://github.com/mongodb/snooty-parser/blob/master/snooty/rstspec.toml
@@ -0,0 +1,10 @@ | |||
Starting in MongoDB 5.0, non-transaction reads are not allowed on | |||
:ref:`config.transactions<config.transactions>` | |||
with the following read concerns and considerations: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[minor] "options" may be better than "considerations" here
00e54e4
to
be8a379
Compare
source/reference/config-database.txt
Outdated
@@ -524,6 +526,8 @@ instance. | |||
the ``system.sessions`` collection into at least 1024 chunks and | |||
distributes the chunks uniformly across shards in the cluster. | |||
|
|||
.. _config.transactions: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can remove this as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed on latest commit.
be8a379
to
1bb91a0
Compare
* DOCSP-35317 5.0.24 Release Notes * * * fix affected versions
No description provided.