Skip to content

Commit 06f2b53

Browse files
author
Dave
authored
DOCSP-19786 clarify wording in warning (#101)
1 parent cc44886 commit 06f2b53

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
@@ -96,11 +96,24 @@ finishes.
9696

9797
.. warning::
9898

99-
Due to the performance impact of validation, consider running
100-
:method:`db.collection.validate()` only on :term:`secondary` replica
101-
set nodes. You can use :method:`rs.stepDown()` to instruct the
102-
current :term:`primary` node to become a secondary to avoid
103-
impacting a live primary node.
99+
Validation has exclusive lock requirements that affect performance.
100+
Consider only running :method:`db.collection.validate()` on nodes
101+
that are not servicing reads and writes.
102+
103+
To isolate the impact of the validation operation from client
104+
applications, run :method:`db.collection.validate()` on a secondary
105+
node.
106+
107+
:ref:`Convert a secondary node
108+
<configure-hidden-replica-set-member>` into a replica set
109+
:ref:`hidden member <replica-set-hidden-members>` and use the hidden
110+
node to further isolate the :method:`db.collection.validate()`
111+
operation.
112+
113+
.. tip::
114+
115+
Convert the current primary node to a secondary node with
116+
:method:`rs.stepDown()`.
104117

105118
Data Throughput Metrics
106119
~~~~~~~~~~~~~~~~~~~~~~~

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)