summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/mr_test.cpp
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2023-03-28 05:06:26 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-03-28 09:46:19 +0000
commit8754d07ae5dad44417fd232595605aa5fabbc99a (patch)
tree3b798135da17dd259dcacc3648e9b73f10d7b5ca /src/mongo/db/commands/mr_test.cpp
parentc5519fd438f2880e7a80fe60cdb3ab3e5dc0712a (diff)
downloadmongo-8754d07ae5dad44417fd232595605aa5fabbc99a.tar.gz
SERVER-74589 OpObserver::onInserts() accepts fromMigrate bool array
Diffstat (limited to 'src/mongo/db/commands/mr_test.cpp')
-rw-r--r--src/mongo/db/commands/mr_test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/commands/mr_test.cpp b/src/mongo/db/commands/mr_test.cpp
index d5b28f51ba5..38cc3f73f81 100644
--- a/src/mongo/db/commands/mr_test.cpp
+++ b/src/mongo/db/commands/mr_test.cpp
@@ -264,7 +264,8 @@ public:
const CollectionPtr& coll,
std::vector<InsertStatement>::const_iterator begin,
std::vector<InsertStatement>::const_iterator end,
- bool fromMigrate) override;
+ std::vector<bool> fromMigrate,
+ bool defaultFromMigrate) override;
/**
* Tracks the temporary collections mapReduces creates.
@@ -321,7 +322,8 @@ void MapReduceOpObserver::onInserts(OperationContext* opCtx,
const CollectionPtr& coll,
std::vector<InsertStatement>::const_iterator begin,
std::vector<InsertStatement>::const_iterator end,
- bool fromMigrate) {
+ std::vector<bool> fromMigrate,
+ bool defaultFromMigrate) {
onInsertsFn();
}