summaryrefslogtreecommitdiff
path: root/src/mongo/db/repair.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repair.cpp')
-rw-r--r--src/mongo/db/repair.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repair.cpp b/src/mongo/db/repair.cpp
index 0a6dade23af..9b64e51f1d4 100644
--- a/src/mongo/db/repair.cpp
+++ b/src/mongo/db/repair.cpp
@@ -169,7 +169,8 @@ Status repairDatabase(OperationContext* opCtx, StorageEngine* engine, const Data
try {
// Ensure that we don't trigger an exception when attempting to take locks.
- UninterruptibleLockGuard noInterrupt(opCtx->lockState());
+ // TODO (SERVER-71610): Fix to be interruptible or document exception.
+ UninterruptibleLockGuard noInterrupt(opCtx->lockState()); // NOLINT.
// Restore oplog Collection pointer cache.
repl::acquireOplogCollectionForLogging(opCtx);