File tree Expand file tree Collapse file tree 2 files changed +19
-5
lines changed Expand file tree Collapse file tree 2 files changed +19
-5
lines changed Original file line number Diff line number Diff 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
105118Data Throughput Metrics
106119~~~~~~~~~~~~~~~~~~~~~~~
Original file line number Diff line number Diff 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
5152Configuration Procedure
5253~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments