Skip to content

Commit c3375b0

Browse files
authored
DOCSP-45180 Server selection (#135)
* DOCSP-45188 Server selection * quick add * remove page * spacing * review comment * same edit * tech review
1 parent 8d8a159 commit c3375b0

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

source/connect.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ Connect to MongoDB
2525
Create a Client </connect/mongoclient>
2626
Stable API </connect/stable-api>
2727
Choose a Connection Target </connect/connection-targets>
28-
Connection Option </connect/connection-options>
28+
Connection Options </connect/connection-options>
2929
Configure TLS </connect/tls>

source/connect/connection-options.txt

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ Server Selection
147147
defined in the client options or defaults to a Primary
148148
server selector.
149149
|
150+
| For more information on read preference modes, see the
151+
:manual:`Server Selection Algorithm </core/read-preference-mechanics/>`
152+
documentation in the {+mdb-server+} manual.
153+
|
150154
| **Data Type**: ``ServerSelector``
151155
| **Default**: none
152156
| **Client Example**: ``server_selector: { mode: :secondary_preferred }``
@@ -247,16 +251,16 @@ Read and Write Operations
247251

248252
* - **:read**
249253
- | The read preference options. For more information,
250-
see :manual:`Read Preference </core/read-preference/>` in the Server manual.
254+
see :manual:`Read Preference </core/read-preference/>` in the {+mdb-server+} manual.
251255
|
252256
| **Data Type**: ``Hash``
253-
| **Default**: ``{ :mode: :primary }``
257+
| **Default**: ``{ mode: :primary }``
254258
| **Client Example**: ``read: { mode: :primary }``
255259
| **Connection URI Example**: ``readPreference=primary``
256260

257261
* - **:read_concern**
258262
- | Specifies the read concern options. For more information, see
259-
:manual:`Read Concern </reference/read-concern/>` in the Server manual.
263+
:manual:`Read Concern </reference/read-concern/>` in the {+mdb-server+} manual.
260264
|
261265
| **Data Type**: ``Hash``
262266
| **Default**: none
@@ -265,7 +269,8 @@ Read and Write Operations
265269

266270
* - **:write_concern**
267271
- | Specifies the client's write concern. For more
268-
information, see :manual:`Write Concern </reference/write-concern/>` in the Server manual.
272+
information, see :manual:`Write Concern </reference/write-concern/>` in
273+
the {+mdb-server+} manual.
269274
|
270275
| **Data Type**: ``Hash``
271276
| **Default**: ``write_concern: { w: 1 }``

0 commit comments

Comments
 (0)