diff options
author | Benety Goh <benety@mongodb.com> | 2023-05-05 05:51:08 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-05-05 11:47:00 +0000 |
commit | e4866d1dddd165076a4a6ced76d9b8e6d37601fc (patch) | |
tree | 0a19fd1b07a9d0a3a7e28f630e05cd6728a4c8c1 /src/mongo/db/op_observer/op_observer.h | |
parent | ccdd3699f870cff69b9c301366ae3356affa77c0 (diff) | |
download | mongo-e4866d1dddd165076a4a6ced76d9b8e6d37601fc.tar.gz |
SERVER-76639 remove OpObserver::preRenameCollection() overload
Diffstat (limited to 'src/mongo/db/op_observer/op_observer.h')
-rw-r--r-- | src/mongo/db/op_observer/op_observer.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/mongo/db/op_observer/op_observer.h b/src/mongo/db/op_observer/op_observer.h index f277241f864..b073ae8aecd 100644 --- a/src/mongo/db/op_observer/op_observer.h +++ b/src/mongo/db/op_observer/op_observer.h @@ -367,18 +367,9 @@ public: const UUID& uuid, const boost::optional<UUID>& dropTargetUUID, std::uint64_t numRecords, - bool stayTemp) = 0; - virtual repl::OpTime preRenameCollection(OperationContext* opCtx, - const NamespaceString& fromCollection, - const NamespaceString& toCollection, - const UUID& uuid, - const boost::optional<UUID>& dropTargetUUID, - std::uint64_t numRecords, bool stayTemp, - bool markFromMigrate) { - return preRenameCollection( - opCtx, fromCollection, toCollection, uuid, dropTargetUUID, numRecords, stayTemp); - } + bool markFromMigrate) = 0; + /** * This function performs all op observer handling for a 'renameCollection' command except for * logging the oplog entry. It should be used specifically in instances where the optime is |