diff options
author | Louis Williams <louis.williams@mongodb.com> | 2020-05-26 09:48:38 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-26 14:06:39 +0000 |
commit | 0e4178afe88237ead101b11fcb19864d9d5a903c (patch) | |
tree | c60ebdc794638b05f675c8406f053092c5b69dfe /src/mongo/db/catalog/drop_collection.cpp | |
parent | 2992a78c15fbd1db49f0eec86a2b0ffbc63954e0 (diff) | |
download | mongo-0e4178afe88237ead101b11fcb19864d9d5a903c.tar.gz |
SERVER-39140 Remove BackgroundOperation
Diffstat (limited to 'src/mongo/db/catalog/drop_collection.cpp')
-rw-r--r-- | src/mongo/db/catalog/drop_collection.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/drop_collection.cpp b/src/mongo/db/catalog/drop_collection.cpp index 2f96e840b0b..170c51557bb 100644 --- a/src/mongo/db/catalog/drop_collection.cpp +++ b/src/mongo/db/catalog/drop_collection.cpp @@ -33,7 +33,6 @@ #include "mongo/db/catalog/drop_collection.h" -#include "mongo/db/background.h" #include "mongo/db/catalog/index_catalog.h" #include "mongo/db/catalog/uncommitted_collections.h" #include "mongo/db/client.h" @@ -256,7 +255,6 @@ Status _dropCollection(OperationContext* opCtx, WriteUnitOfWork wunit(opCtx); int numIndexes = coll->getIndexCatalog()->numIndexesTotal(opCtx); - BackgroundOperation::assertNoBgOpInProgForNs(collectionName.ns()); IndexBuildsCoordinator::get(opCtx)->assertNoIndexBuildInProgForCollection(coll->uuid()); status = systemCollectionMode == DropCollectionSystemCollectionMode::kDisallowSystemCollectionDrops |