Skip to content

Commit e9fdc75

Browse files
author
Sam Kleinman
committed
minor: fixing inconsistancies and rendering problems
1 parent 3d71a4d commit e9fdc75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/applications/replication.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ for more information.
447447
.. [#acceptable-secondary-latency] Applications can configure the
448448
threshold used in this stage. The default "acceptable latency" is
449449
15 milliseconds. For :program:`mongos` you can use the
450-
:option:`--localThreshold` <mongos --localThreshold>` or
450+
:option:`--localThreshold <mongos --localThreshold>` or
451451
:setting:`localThreshold` runtime options to set this value.
452452

453453

@@ -478,13 +478,13 @@ maintain their own connection pool to the replica set members, as a
478478
result:
479479

480480
- a request without a specified preference will have
481-
:readmode:`PRIMARY`, the default, unless, the :program:`mongos`
481+
:readmode:`primary`, the default, unless, the :program:`mongos`
482482
reuses and existing connection that had a different mode set.
483483

484484
Always explicitly set your read preference mode to prevent
485485
confusion.
486486

487-
- all :readmode:`NEAREST` and latency calculations reflect the
487+
- all :readmode:`nearest` and latency calculations reflect the
488488
connection between the :program:`mongos` and the :program:`mongod`
489489
instances, not the client and the :program:`mongod` instances.
490490

0 commit comments

Comments
 (0)