Skip to content

Commit d08669c

Browse files
author
Dave
authored
DOCSP-19786 clarify wording in warning (#100)
1 parent af21615 commit d08669c

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

source/reference/method/db.collection.validate.txt

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,24 @@ finishes.
112112

113113
.. warning::
114114

115-
Due to the performance impact of validation, consider running
116-
:method:`db.collection.validate()` only on :term:`secondary` replica
117-
set nodes. You can use :method:`rs.stepDown()` to instruct the
118-
current :term:`primary` node to become a secondary to avoid
119-
impacting a live primary node.
115+
Validation has exclusive lock requirements that affect performance.
116+
Consider only running :method:`db.collection.validate()` on nodes
117+
that are not servicing reads and writes.
118+
119+
To isolate the impact of the validation operation from client
120+
applications, run :method:`db.collection.validate()` on a secondary
121+
node.
122+
123+
:ref:`Convert a secondary node
124+
<configure-hidden-replica-set-member>` into a replica set
125+
:ref:`hidden member <replica-set-hidden-members>` and use the hidden
126+
node to further isolate the :method:`db.collection.validate()`
127+
operation.
128+
129+
.. tip::
130+
131+
Convert the current primary node to a secondary node with
132+
:method:`rs.stepDown()`.
120133

121134
Data Throughput Metrics
122135
~~~~~~~~~~~~~~~~~~~~~~~

source/tutorial/configure-a-hidden-replica-set-member.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ set its :rsconf:`members[n].hidden` value to
4747
"hidden" : true
4848
}
4949

50+
.. _configure-hidden-replica-set-member:
5051

5152
Configuration Procedure
5253
~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)