summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/drop_collection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/drop_collection.h')
-rw-r--r--src/mongo/db/catalog/drop_collection.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mongo/db/catalog/drop_collection.h b/src/mongo/db/catalog/drop_collection.h
index 016bc5e3d1a..7f857d88547 100644
--- a/src/mongo/db/catalog/drop_collection.h
+++ b/src/mongo/db/catalog/drop_collection.h
@@ -50,21 +50,17 @@ enum class DropCollectionSystemCollectionMode {
* Drops the collection "collectionName" and populates "reply" with statistics about what
* was removed. Aborts in-progress index builds on the collection if two phase index builds are
* supported. Throws if the expectedUUID does not match the UUID of the collection being dropped.
- * When fromMigrate is set, the related oplog entry will be marked accordingly using the
- * 'fromMigrate' field to reduce its visibility (e.g. in change streams).
*/
Status dropCollection(OperationContext* opCtx,
const NamespaceString& collectionName,
const boost::optional<UUID>& expectedUUID,
DropReply* reply,
- DropCollectionSystemCollectionMode systemCollectionMode,
- bool fromMigrate = false);
+ DropCollectionSystemCollectionMode systemCollectionMode);
Status dropCollection(OperationContext* opCtx,
const NamespaceString& collectionName,
DropReply* reply,
- DropCollectionSystemCollectionMode systemCollectionMode,
- bool fromMigrate = false);
+ DropCollectionSystemCollectionMode systemCollectionMode);
/**
* Drops the collection "collectionName" only if its uuid is not matching "expectedUUID".