Skip to content

Commit 865a6cc

Browse files
authored
DOCSP-39194 - Specify MDB Server (#93)
1 parent 3173894 commit 865a6cc

32 files changed

+68
-67
lines changed

snooty.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
2525
driver-short = "PyMongo"
2626
driver-long = "PyMongo, the MongoDB synchronous Python driver,"
2727
language = "Python"
28+
mdb-server = "MongoDB Server"
2829
mongo-community = "MongoDB Community Edition"
2930
mongo-enterprise = "MongoDB Enterprise Edition"
3031
docs-branch = "master" # always set this to the docs branch (i.e. master, 1.7, 1.8, etc.)

source/connect/connection-targets.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Then, pass your connection string to the ``MongoClient`` constructor.
4141
to retrieve your connection string.
4242

4343
When you connect to Atlas, we recommend using the {+stable-api+} client option to avoid
44-
breaking changes when Atlas upgrades to a new version of MongoDB Server.
44+
breaking changes when Atlas upgrades to a new version of {+mdb-server+}.
4545
To learn more about the {+stable-api+} feature, see the :ref:`{+stable-api+} page
4646
<pymongo-stable-api>`.
4747

source/connect/stable-api.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
.. note::
2121

22-
The {+stable-api+} feature requires MongoDB Server 5.0 or later.
22+
The {+stable-api+} feature requires {+mdb-server+} 5.0 or later.
2323

2424
Overview
2525
--------

source/connect/tls.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ option to ``True``. You can do this in two ways: by passing an argument to the
5757

5858
To learn more about the SRV connection format, see
5959
:manual:`SRV Connection Format </reference/connection-string/#srv-connection-format>`
60-
in the MongoDB Server documentation.
60+
in the {+mdb-server+} documentation.
6161

6262
.. _pymongo-specify-ca-file:
6363

@@ -101,7 +101,7 @@ example:
101101

102102
python -m pip install pymongo[ocsp]
103103

104-
The certificate-validation process varies depending on the version of MongoDB Server you're
104+
The certificate-validation process varies depending on the version of {+mdb-server+} you're
105105
connecting to:
106106

107107
- **MongoDB v4.4 or later:** The server staples a

source/databases-collections.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ MongoDB organizes data into a hierarchy of the following levels:
3030
- **Documents**: Contain literal data such as string, numbers, dates, and other embedded documents.
3131

3232
For more information about document field types and structure, see the
33-
:manual:`Documents </core/document/>` guide in the MongoDB Server manual.
33+
:manual:`Documents </core/document/>` guide in the {+mdb-server+} manual.
3434

3535
.. TODO: Add a diagram here
3636

@@ -202,7 +202,7 @@ MongoDB Server manual:
202202
Tag Sets
203203
~~~~~~~~
204204

205-
In MongoDB Server, you can apply key-value :manual:`tags
205+
In {+mdb-server+}, you can apply key-value :manual:`tags
206206
</core/read-preference-tags/>` to replica-set
207207
members according to any criteria you choose. You can then use
208208
those tags to target one or more members for a read operation.

source/faq.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ any ongoing operations by using this method. The driver closes these
149149
sockets only when the process completes.
150150

151151
For more information, see the :manual:`<administration/connection-pool-overview/>`
152-
in the MongoDB Server documentation.
152+
in the {+mdb-server+} documentation.
153153

154154
Why Does {+driver-short+} Add an _id Field to All My Documents?
155155
------------------------------------------------------

source/includes/troubleshooting/connection-targets.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Server Reports Wire Version X, PyMongo Requires Y
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33

4-
If you try to connect to MongoDB Server v3.4 or earlier,
4+
If you try to connect to {+mdb-server+} v3.4 or earlier,
55
{+driver-short+} might raise the following error:
66

77
.. code-block::
@@ -10,7 +10,7 @@ If you try to connect to MongoDB Server v3.4 or earlier,
1010
1111
This occurs when the driver version is too new for the server it's connecting to.
1212
To resolve this issue, upgrade your MongoDB deployment to v3.6 or later, or downgrade to
13-
{+driver-short+} v3.x, which supports MongoDB Server v2.6 and later.
13+
{+driver-short+} v3.x, which supports {+mdb-server+} v2.6 and later.
1414

1515
AutoReconnect
1616
~~~~~~~~~~~~~

source/includes/troubleshooting/stable-api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Unrecognized field 'apiVersion' on server
33

44
{+driver-short+} raises this exception if you specify an API version and connect to a
55
MongoDB server that doesn't support the {+stable-api+}. Ensure you're connecting to a
6-
deployment running MongoDB Server v5.0 or later.
6+
deployment running {+mdb-server+} v5.0 or later.
77

88
Provided apiStrict:true, but the command count is not in API Version
99
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

source/includes/troubleshooting/tls.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ see errors similar to the following messages:
109109
SSL handshake failed: localhost:27017: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:997)
110110
SSL handshake failed: localhost:27017: EOF occurred in violation of protocol (_ssl.c:997)
111111
112-
The MongoDB Server logs might also show the following error:
112+
The {+mdb-server+} logs might also show the following error:
113113

114114
.. code-block:: python
115115
@@ -121,5 +121,5 @@ with MongoDB versions earlier than v4.0. To resolve this issue, try one or more
121121
following steps:
122122

123123
- Downgrade Python to v3.9 or earlier
124-
- Upgrade MongoDB Server to v4.2 or later
124+
- Upgrade {+mdb-server+} to v4.2 or later
125125
- Install {+driver-short+} with the :ref:`OCSP <pymongo-disable-ocsp>` option, which relies on PyOpenSSL

source/index.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Compatibility
136136
-------------
137137

138138
For compatibility tables that show the recommended {+driver-short+}
139-
version to use for specific Python and MongoDB Server versions, see the
139+
version to use for specific Python and {+mdb-server+} versions, see the
140140
:ref:`pymongo-compatibility` section.
141141

142142
API Documentation

0 commit comments

Comments
 (0)