summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/drop_collection_coordinator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/drop_collection_coordinator.h')
-rw-r--r--src/mongo/db/s/drop_collection_coordinator.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/db/s/drop_collection_coordinator.h b/src/mongo/db/s/drop_collection_coordinator.h
index 765f11286f1..7a8288c4e9c 100644
--- a/src/mongo/db/s/drop_collection_coordinator.h
+++ b/src/mongo/db/s/drop_collection_coordinator.h
@@ -52,8 +52,12 @@ public:
/**
* Locally drops a collection, cleans its CollectionShardingRuntime metadata and refreshes the
* catalog cache.
+ * The oplog entry associated with the drop collection will be generated with the fromMigrate
+ * flag.
*/
- static DropReply dropCollectionLocally(OperationContext* opCtx, const NamespaceString& nss);
+ static void dropCollectionLocally(OperationContext* opCtx,
+ const NamespaceString& nss,
+ bool fromMigrate);
private:
StringData serializePhase(const Phase& phase) const override {