summaryrefslogtreecommitdiff
path: root/src/mongo/db/cloner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/cloner.cpp')
-rw-r--r--src/mongo/db/cloner.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/cloner.cpp b/src/mongo/db/cloner.cpp
index d248aeae42d..340a08e4252 100644
--- a/src/mongo/db/cloner.cpp
+++ b/src/mongo/db/cloner.cpp
@@ -403,7 +403,6 @@ void Cloner::copyIndexes(OperationContext* opCtx,
// matches. It also wouldn't work on non-empty collections so we would need both
// implementations anyway as long as that is supported.
MultiIndexBlock indexer(opCtx, collection);
- indexer.allowInterruption();
auto indexCatalog = collection->getIndexCatalog();
auto prunedIndexesToBuild = indexCatalog->removeExistingIndexes(opCtx, indexesToBuild);