summaryrefslogtreecommitdiff
path: root/src/mongo/db/free_mon
diff options
context:
space:
mode:
authorDaniel Gottlieb <daniel.gottlieb@mongodb.com>2021-11-02 11:53:12 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-11-02 17:21:23 +0000
commit08c77a13d8731522c59714ad5575ce9ce4e1583a (patch)
treec0e7ce252488e80cd218d10964aa22f20ce0d1de /src/mongo/db/free_mon
parent214c46dc2b6df003e4c0bcf306f76ed2148beda7 (diff)
downloadmongo-08c77a13d8731522c59714ad5575ce9ce4e1583a.tar.gz
SERVER-60690: Refactor OplogUpdateEntryArgs to use retryable FAM enum.
Diffstat (limited to 'src/mongo/db/free_mon')
-rw-r--r--src/mongo/db/free_mon/free_mon_op_observer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/free_mon/free_mon_op_observer.cpp b/src/mongo/db/free_mon/free_mon_op_observer.cpp
index 534f643cc62..7e22ab872a8 100644
--- a/src/mongo/db/free_mon/free_mon_op_observer.cpp
+++ b/src/mongo/db/free_mon/free_mon_op_observer.cpp
@@ -109,11 +109,11 @@ void FreeMonOpObserver::onUpdate(OperationContext* opCtx, const OplogUpdateEntry
return;
}
- if (args.updateArgs.updatedDoc["_id"].str() == FreeMonStorage::kFreeMonDocIdKey) {
+ if (args.updateArgs->updatedDoc["_id"].str() == FreeMonStorage::kFreeMonDocIdKey) {
auto controller = FreeMonController::get(opCtx->getServiceContext());
if (controller != nullptr) {
- controller->notifyOnUpsert(args.updateArgs.updatedDoc.getOwned());
+ controller->notifyOnUpsert(args.updateArgs->updatedDoc.getOwned());
}
}
}