summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_recovery_test.cpp
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2023-05-04 19:58:23 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-05 01:31:45 +0000
commit2e7ed8504ecbb9f42e4c07e5a7117e974e4abead (patch)
tree9f61cf2284b5c02a65e6d8f4e9143521bbf421f4 /src/mongo/db/repl/replication_recovery_test.cpp
parent5c3ac23476c1db1fde06d7b145d0733ac0838041 (diff)
downloadmongo-2e7ed8504ecbb9f42e4c07e5a7117e974e4abead.tar.gz
SERVER-76639 remove OpObserver::onDropCollection() overload
Diffstat (limited to 'src/mongo/db/repl/replication_recovery_test.cpp')
-rw-r--r--src/mongo/db/repl/replication_recovery_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/replication_recovery_test.cpp b/src/mongo/db/repl/replication_recovery_test.cpp
index 4d21f4d9d91..00b6a2ef1a1 100644
--- a/src/mongo/db/repl/replication_recovery_test.cpp
+++ b/src/mongo/db/repl/replication_recovery_test.cpp
@@ -122,12 +122,12 @@ private:
class ReplicationRecoveryTestObObserver : public OpObserverNoop {
public:
- using OpObserver::onDropCollection;
repl::OpTime onDropCollection(OperationContext* opCtx,
const NamespaceString& collectionName,
const UUID& uuid,
std::uint64_t numRecords,
- const CollectionDropType dropType) override {
+ const CollectionDropType dropType,
+ bool markFromMigrate) override {
// If the oplog is not disabled for this namespace, then we need to reserve an op time for
// the drop.
if (!repl::ReplicationCoordinator::get(opCtx)->isOplogDisabledFor(opCtx, collectionName)) {