summaryrefslogtreecommitdiff
path: root/src/mongo/db/repair_database.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repair_database.cpp')
-rw-r--r--src/mongo/db/repair_database.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/repair_database.cpp b/src/mongo/db/repair_database.cpp
index c662a63fef6..789eed1dc90 100644
--- a/src/mongo/db/repair_database.cpp
+++ b/src/mongo/db/repair_database.cpp
@@ -40,7 +40,6 @@
#include "mongo/base/string_data.h"
#include "mongo/bson/bson_validate.h"
#include "mongo/bson/bsonobjbuilder.h"
-#include "mongo/db/background.h"
#include "mongo/db/catalog/collection.h"
#include "mongo/db/catalog/collection_catalog.h"
#include "mongo/db/catalog/collection_validation.h"
@@ -197,7 +196,6 @@ Status repairDatabase(OperationContext* opCtx, StorageEngine* engine, const std:
LOGV2(21029, "repairDatabase", "db"_attr = dbName);
- BackgroundOperation::assertNoBgOpInProgForDb(dbName);
opCtx->checkForInterrupt();