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 @@ -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
121134Data Throughput Metrics
122135~~~~~~~~~~~~~~~~~~~~~~~
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