summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2019-08-22 20:32:53 -0400
committerGregory Wlodarek <gregory.wlodarek@mongodb.com>2019-08-22 20:39:23 -0400
commit98ae88a36c731e79ed1a299b954c0dfafd7b096c (patch)
tree633d03d777e357a9dd838664e7df72838c2fff9b /src/mongo
parent8f34015c725e56eb5550c7ae42010de85ad3dbf2 (diff)
downloadmongo-98ae88a36c731e79ed1a299b954c0dfafd7b096c.tar.gz
SERVER-42226 Clarify that the 'maxValidateMBperSec' server parameter is only used when the validate command is running in the background.
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/catalog/max_validate_mb_per_sec.idl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/max_validate_mb_per_sec.idl b/src/mongo/db/catalog/max_validate_mb_per_sec.idl
index 2be07e60591..2bfb89a5dbe 100644
--- a/src/mongo/db/catalog/max_validate_mb_per_sec.idl
+++ b/src/mongo/db/catalog/max_validate_mb_per_sec.idl
@@ -31,7 +31,9 @@ global:
server_parameters:
maxValidateMBperSec:
- description: "Max MB per second that a single validate cmd will process in order to limit I/O and CPU usage. Defaults to 0, which turns off throttling."
+ description: "Max MB per second that a single validate command running with
+ { background: true } will process in order to limit I/O and CPU usage.
+ Defaults to 0, which turns off throttling."
set_at: [ startup, runtime ]
cpp_varname: gMaxValidateMBperSec
cpp_vartype: AtomicWord<int>