diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2022-08-23 14:21:49 +0200 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-08-23 13:03:38 +0000 |
commit | a5c99e5fd1efbfcb203ba2ab2d7c422d5fa1434a (patch) | |
tree | 4a3e1dbb10dc67dd42236bf24df68a53a7a8fbfd /src/mongo/db/commands | |
parent | 4ed275ae52bba8f4fdfbe025f42a52b46d3a218d (diff) | |
download | mongo-a5c99e5fd1efbfcb203ba2ab2d7c422d5fa1434a.tar.gz |
SERVER-67900 Thread CollectionPtr into the onInsert OpObserver
Diffstat (limited to 'src/mongo/db/commands')
-rw-r--r-- | src/mongo/db/commands/mr_test.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mongo/db/commands/mr_test.cpp b/src/mongo/db/commands/mr_test.cpp index ef1ad304d87..ed3bbd03458 100644 --- a/src/mongo/db/commands/mr_test.cpp +++ b/src/mongo/db/commands/mr_test.cpp @@ -27,7 +27,6 @@ * it in the license file. */ - #include <functional> #include <memory> #include <string> @@ -59,7 +58,6 @@ #define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kStorage - namespace mongo { namespace { @@ -263,8 +261,7 @@ public: * collection. */ void onInserts(OperationContext* opCtx, - const NamespaceString& nss, - const UUID& uuid, + const CollectionPtr& coll, std::vector<InsertStatement>::const_iterator begin, std::vector<InsertStatement>::const_iterator end, bool fromMigrate) override; @@ -320,8 +317,7 @@ void MapReduceOpObserver::onStartIndexBuild(OperationContext* opCtx, } void MapReduceOpObserver::onInserts(OperationContext* opCtx, - const NamespaceString& nss, - const UUID& uuid, + const CollectionPtr& coll, std::vector<InsertStatement>::const_iterator begin, std::vector<InsertStatement>::const_iterator end, bool fromMigrate) { |