diff options
author | Dianna Hohensee <dianna.hohensee@10gen.com> | 2019-03-21 17:00:09 -0400 |
---|---|---|
committer | Dianna Hohensee <dianna.hohensee@10gen.com> | 2019-03-24 17:11:54 -0400 |
commit | 85126f13b5b26700cb9dc869df3ad747515e6a25 (patch) | |
tree | ce150ada40a6a52f712fd4681aac2c35ffb69427 /src/mongo/db/commands/rename_collection_cmd.cpp | |
parent | 10f196bb962c6d4f983b9d7b1209aff26f97573a (diff) | |
download | mongo-85126f13b5b26700cb9dc869df3ad747515e6a25.tar.gz |
SERVER-39079 Move BackgroundOperation checks out of the catalog layer; add parallel IndexBuildsCoordinator checks for all BackgroundOperation checks
Diffstat (limited to 'src/mongo/db/commands/rename_collection_cmd.cpp')
-rw-r--r-- | src/mongo/db/commands/rename_collection_cmd.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/commands/rename_collection_cmd.cpp b/src/mongo/db/commands/rename_collection_cmd.cpp index fe2a048b153..7107a370ce0 100644 --- a/src/mongo/db/commands/rename_collection_cmd.cpp +++ b/src/mongo/db/commands/rename_collection_cmd.cpp @@ -80,14 +80,6 @@ public: return CommandHelpers::parseNsFullyQualified(cmdObj); } - static void dropCollection(OperationContext* opCtx, Database* db, StringData collName) { - WriteUnitOfWork wunit(opCtx); - if (db->dropCollection(opCtx, collName).isOK()) { - // ignoring failure case - wunit.commit(); - } - } - virtual bool errmsgRun(OperationContext* opCtx, const string& dbname, const BSONObj& cmdObj, |