diff options
author | Jason Chan <jason.chan@mongodb.com> | 2022-06-24 22:10:58 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-06-24 23:04:59 +0000 |
commit | e4e6a561a4579c8a11c964f0a12cfb6391bc9d34 (patch) | |
tree | e4843acddabb22b4eacbe96ca09e0888df10f55c /src/mongo/db/mongod_main.cpp | |
parent | 11aa03c2de2d008bb87264a24c225ff7da4e1a68 (diff) | |
download | mongo-e4e6a561a4579c8a11c964f0a12cfb6391bc9d34.tar.gz |
SERVER-65289 Improvements to Mirrored Reads Metrics and Visibility
Diffstat (limited to 'src/mongo/db/mongod_main.cpp')
-rw-r--r-- | src/mongo/db/mongod_main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/mongod_main.cpp b/src/mongo/db/mongod_main.cpp index 531b875918c..954761086b3 100644 --- a/src/mongo/db/mongod_main.cpp +++ b/src/mongo/db/mongod_main.cpp @@ -315,6 +315,7 @@ void initializeCommandHooks(ServiceContext* serviceContext) { void onAfterRun(OperationContext* opCtx, const OpMsgRequest&, CommandInvocation*) { MirrorMaestro::tryMirrorRequest(opCtx); + MirrorMaestro::onReceiveMirroredRead(opCtx); } }; |