diff options
author | Hugh Tong <hugh.tong@mongodb.com> | 2022-07-11 16:41:43 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-07-11 22:49:28 +0000 |
commit | d4f322da12a6a52b1f32c39187f04b961f8cf206 (patch) | |
tree | acf1df6c1f3f2546c74f7054371ad0ed4e639310 /src/mongo/db/op_observer/op_observer.h | |
parent | 9b821336550ba150374d78e10852d5d883e6f323 (diff) | |
download | mongo-d4f322da12a6a52b1f32c39187f04b961f8cf206.tar.gz |
SERVER-62781 Include tid in oplog entries for commands
Diffstat (limited to 'src/mongo/db/op_observer/op_observer.h')
-rw-r--r-- | src/mongo/db/op_observer/op_observer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/op_observer/op_observer.h b/src/mongo/db/op_observer/op_observer.h index ac8b04fb2f6..ae3b9bed594 100644 --- a/src/mongo/db/op_observer/op_observer.h +++ b/src/mongo/db/op_observer/op_observer.h @@ -267,7 +267,7 @@ public: const BSONObj& collModCmd, const CollectionOptions& oldCollOptions, boost::optional<IndexCollModInfo> indexInfo) = 0; - virtual void onDropDatabase(OperationContext* opCtx, const std::string& dbName) = 0; + virtual void onDropDatabase(OperationContext* opCtx, const DatabaseName& dbName) = 0; /** * This function logs an oplog entry when a 'drop' command on a collection is executed. @@ -378,7 +378,7 @@ public: bool isDryRun) = 0; virtual void onApplyOps(OperationContext* opCtx, - const std::string& dbName, + const DatabaseName& dbName, const BSONObj& applyOpCmd) = 0; virtual void onEmptyCapped(OperationContext* opCtx, const NamespaceString& collectionName, |