summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/config_server_op_observer.h
diff options
context:
space:
mode:
authorHugh Tong <hugh.tong@mongodb.com>2022-07-11 16:41:43 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-07-11 22:49:28 +0000
commitd4f322da12a6a52b1f32c39187f04b961f8cf206 (patch)
treeacf1df6c1f3f2546c74f7054371ad0ed4e639310 /src/mongo/db/s/config_server_op_observer.h
parent9b821336550ba150374d78e10852d5d883e6f323 (diff)
downloadmongo-d4f322da12a6a52b1f32c39187f04b961f8cf206.tar.gz
SERVER-62781 Include tid in oplog entries for commands
Diffstat (limited to 'src/mongo/db/s/config_server_op_observer.h')
-rw-r--r--src/mongo/db/s/config_server_op_observer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/s/config_server_op_observer.h b/src/mongo/db/s/config_server_op_observer.h
index 1f6f97c5aae..dc6a1a8429f 100644
--- a/src/mongo/db/s/config_server_op_observer.h
+++ b/src/mongo/db/s/config_server_op_observer.h
@@ -125,7 +125,7 @@ public:
const CollectionOptions& oldCollOptions,
boost::optional<IndexCollModInfo> indexInfo) override {}
- void onDropDatabase(OperationContext* opCtx, const std::string& dbName) override {}
+ void onDropDatabase(OperationContext* opCtx, const DatabaseName& dbName) override {}
using OpObserver::onDropCollection;
repl::OpTime onDropCollection(OperationContext* opCtx,
@@ -174,7 +174,7 @@ public:
bool stayTemp) override {}
void onApplyOps(OperationContext* opCtx,
- const std::string& dbName,
+ const DatabaseName& dbName,
const BSONObj& applyOpCmd) override {}
void onEmptyCapped(OperationContext* opCtx,