summaryrefslogtreecommitdiff
path: root/src/mongo/db/mongod_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/mongod_main.cpp')
-rw-r--r--src/mongo/db/mongod_main.cpp1
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);
}
};