summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/dbcheck.idl
diff options
context:
space:
mode:
authorJosef Ahmad <josef.ahmad@mongodb.com>2021-12-15 09:12:12 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-12-15 09:40:33 +0000
commit18bf3b5fcf4e06fde48e3459d4020ce3db3fa29f (patch)
tree5dda50d3295f192bb1ef62c677b9108eea3349e4 /src/mongo/db/repl/dbcheck.idl
parent240cbeec02c09de1df5b0dc9d2c3dc6ad0cf52d3 (diff)
downloadmongo-18bf3b5fcf4e06fde48e3459d4020ce3db3fa29f.tar.gz
SERVER-62041 Add a maximum batch execution time to dbCheck
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"