diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2021-10-17 17:49:33 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-10-19 10:14:46 +0000 |
commit | 9679e8ab24b6d990ad9379ca15ed95d26c6f1e5f (patch) | |
tree | 966e6386ea43c5da4446437a6d37634c9b78a554 /src/mongo/db/s/config_server_op_observer.h | |
parent | 3ea8c504b8e7ecfab552858d610a239e00004b1e (diff) | |
download | mongo-9679e8ab24b6d990ad9379ca15ed95d26c6f1e5f.tar.gz |
SERVER-31540 Get rid of boost::optional<UUID> from the OpObservers (Part 2)
Diffstat (limited to 'src/mongo/db/s/config_server_op_observer.h')
-rw-r--r-- | src/mongo/db/s/config_server_op_observer.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mongo/db/s/config_server_op_observer.h b/src/mongo/db/s/config_server_op_observer.h index 7e98af224a9..29ba641a832 100644 --- a/src/mongo/db/s/config_server_op_observer.h +++ b/src/mongo/db/s/config_server_op_observer.h @@ -101,7 +101,7 @@ public: void onInternalOpMessage(OperationContext* opCtx, const NamespaceString& nss, - const boost::optional<UUID> uuid, + OptionalCollectionUUID uuid, const BSONObj& msgObj, const boost::optional<BSONObj> o2MsgObj, const boost::optional<repl::OpTime> preImageOpTime, @@ -128,13 +128,13 @@ public: using OpObserver::onDropCollection; repl::OpTime onDropCollection(OperationContext* opCtx, const NamespaceString& collectionName, - OptionalCollectionUUID uuid, + const UUID& uuid, std::uint64_t numRecords, CollectionDropType dropType) override; void onDropIndex(OperationContext* opCtx, const NamespaceString& nss, - OptionalCollectionUUID uuid, + const UUID& uuid, const std::string& indexName, const BSONObj& indexInfo) override {} @@ -142,7 +142,7 @@ public: void onRenameCollection(OperationContext* opCtx, const NamespaceString& fromCollection, const NamespaceString& toCollection, - OptionalCollectionUUID uuid, + const UUID& uuid, OptionalCollectionUUID dropTargetUUID, std::uint64_t numRecords, bool stayTemp) override {} @@ -158,7 +158,7 @@ public: repl::OpTime preRenameCollection(OperationContext* opCtx, const NamespaceString& fromCollection, const NamespaceString& toCollection, - OptionalCollectionUUID uuid, + const UUID& uuid, OptionalCollectionUUID dropTargetUUID, std::uint64_t numRecords, bool stayTemp) override { @@ -167,7 +167,7 @@ public: void postRenameCollection(OperationContext* opCtx, const NamespaceString& fromCollection, const NamespaceString& toCollection, - OptionalCollectionUUID uuid, + const UUID& uuid, OptionalCollectionUUID dropTargetUUID, bool stayTemp) override {} @@ -177,7 +177,7 @@ public: void onEmptyCapped(OperationContext* opCtx, const NamespaceString& collectionName, - OptionalCollectionUUID uuid) override {} + const UUID& uuid) override {} void onUnpreparedTransactionCommit(OperationContext* opCtx, std::vector<repl::ReplOperation>* statements, |