summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/SConscript
diff options
context:
space:
mode:
authorGabe Villasana <villagab4@gmail.com>2019-07-31 16:51:27 -0400
committerGabe Villasana <villagab4@gmail.com>2019-08-08 11:23:04 -0400
commit321201823455e1c648b7c6bd4ae0a59d1b7115b8 (patch)
tree1b1b71b1cd2d3899fb8f0c0d907a560adf86e427 /src/mongo/db/catalog/SConscript
parent37dc4398994e1af5ed002b0d7e87fe754b6572d5 (diff)
downloadmongo-321201823455e1c648b7c6bd4ae0a59d1b7115b8.tar.gz
SERVER-42224 Add a server parameter maxValidateMBperSec to specify max validate throughput per validate command in order to limit I/O and CPU usage
Diffstat (limited to 'src/mongo/db/catalog/SConscript')
-rw-r--r--src/mongo/db/catalog/SConscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/SConscript b/src/mongo/db/catalog/SConscript
index 103da73e09f..1af2c2b5142 100644
--- a/src/mongo/db/catalog/SConscript
+++ b/src/mongo/db/catalog/SConscript
@@ -74,6 +74,16 @@ env.Library(
)
env.Library(
+ target='max_validate_mb_per_sec_idl',
+ source=[
+ env.Idlc('max_validate_mb_per_sec.idl')[0],
+ ],
+ LIBDEPS=[
+ '$BUILD_DIR/mongo/idl/server_parameter',
+ ],
+)
+
+env.Library(
target='index_build_entry_idl',
source=[
env.Idlc('index_build_entry.idl')[0],
@@ -336,6 +346,7 @@ env.Library(
],
LIBDEPS=[
'catalog_impl',
+ 'max_validate_mb_per_sec_idl',
]
)