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.
112
112
113
113
.. warning::
114
114
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()`.
120
133
121
134
Data Throughput Metrics
122
135
~~~~~~~~~~~~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ set its :rsconf:`members[n].hidden` value to
47
47
"hidden" : true
48
48
}
49
49
50
+ .. _configure-hidden-replica-set-member:
50
51
51
52
Configuration Procedure
52
53
~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments