From 18bf3b5fcf4e06fde48e3459d4020ce3db3fa29f Mon Sep 17 00:00:00 2001 From: Josef Ahmad Date: Wed, 15 Dec 2021 09:12:12 +0000 Subject: SERVER-62041 Add a maximum batch execution time to dbCheck --- src/mongo/db/repl/dbcheck.idl | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/mongo/db/repl/dbcheck.idl') 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::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::max()" + maxBatchTimeMillis: + type: safeInt64 + default: 1000 + validator: + gte: 10 + lte: 20000 DbCheckOplogBatch: description: "Oplog entry for a dbCheck batch" -- cgit v1.2.1