From 137f0e128c872b601dfce4a3801a1dac8d2f0d28 Mon Sep 17 00:00:00 2001 From: Daniel Gottlieb Date: Tue, 4 May 2021 16:09:52 -0400 Subject: SERVER-56373: Introduce `needsRetryImage` field to oplog entries. Refactor OpObserver::onDelete to express image semantics. --- src/mongo/db/fcv_op_observer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mongo/db/fcv_op_observer.cpp') diff --git a/src/mongo/db/fcv_op_observer.cpp b/src/mongo/db/fcv_op_observer.cpp index 73d8b4b23ee..66546e726e6 100644 --- a/src/mongo/db/fcv_op_observer.cpp +++ b/src/mongo/db/fcv_op_observer.cpp @@ -161,8 +161,7 @@ void FcvOpObserver::onDelete(OperationContext* opCtx, const NamespaceString& nss, OptionalCollectionUUID uuid, StmtId stmtId, - bool fromMigrate, - const boost::optional& deletedDoc) { + const OplogDeleteEntryArgs& args) { // documentKeyDecoration is set in OpObserverImpl::aboutToDelete. So the FcvOpObserver // relies on the OpObserverImpl also being in the opObserverRegistry. auto optDocKey = documentKeyDecoration(opCtx); -- cgit v1.2.1