summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/dbcheck.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/dbcheck.idl')
-rw-r--r--src/mongo/db/repl/dbcheck.idl12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mongo/db/repl/dbcheck.idl b/src/mongo/db/repl/dbcheck.idl
index f3de878b7bb..1ceb89fc52a 100644
--- a/src/mongo/db/repl/dbcheck.idl
+++ b/src/mongo/db/repl/dbcheck.idl
@@ -74,6 +74,12 @@ structs:
maxCountPerSecond:
type: safeInt64
default: "std::numeric_limits<int64_t>::max()"
+ maxBatchTimeMillis:
+ type: safeInt64
+ default: 1000
+ validator:
+ gte: 10
+ lte: 20000
DbCheckAllInvocation:
description: "Command object for database-wide form of dbCheck invocation"
@@ -84,6 +90,12 @@ structs:
maxCountPerSecond:
type: safeInt64
default: "std::numeric_limits<int64_t>::max()"
+ maxBatchTimeMillis:
+ type: safeInt64
+ default: 1000
+ validator:
+ gte: 10
+ lte: 20000
DbCheckOplogBatch:
description: "Oplog entry for a dbCheck batch"