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/coll_mod.cpp | |
parent | 2992a78c15fbd1db49f0eec86a2b0ffbc63954e0 (diff) | |
download | mongo-0e4178afe88237ead101b11fcb19864d9d5a903c.tar.gz |
SERVER-39140 Remove BackgroundOperation
Diffstat (limited to 'src/mongo/db/catalog/coll_mod.cpp')
-rw-r--r-- | src/mongo/db/catalog/coll_mod.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/coll_mod.cpp b/src/mongo/db/catalog/coll_mod.cpp index 60e3a9204f7..86812cf5c0b 100644 --- a/src/mongo/db/catalog/coll_mod.cpp +++ b/src/mongo/db/catalog/coll_mod.cpp @@ -37,7 +37,6 @@ #include <memory> #include "mongo/bson/simple_bsonelement_comparator.h" -#include "mongo/db/background.h" #include "mongo/db/catalog/collection_options.h" #include "mongo/db/catalog/index_catalog.h" #include "mongo/db/client.h" @@ -327,7 +326,6 @@ Status _collModInternal(OperationContext* opCtx, // This can kill all cursors so don't allow running it while a background operation is in // progress. - BackgroundOperation::assertNoBgOpInProgForNs(nss); if (coll) { IndexBuildsCoordinator::get(opCtx)->assertNoIndexBuildInProgForCollection(coll->uuid()); } |