diff options
author | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2021-05-04 16:09:52 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-05-04 21:10:48 +0000 |
commit | 137f0e128c872b601dfce4a3801a1dac8d2f0d28 (patch) | |
tree | c020124db3caf0752672b87233fe6ddd4ca8ffc8 /src/mongo/db/fcv_op_observer.cpp | |
parent | e6981fb1f4eade2e07a971af7663f6cbc436be15 (diff) | |
download | mongo-137f0e128c872b601dfce4a3801a1dac8d2f0d28.tar.gz |
SERVER-56373: Introduce `needsRetryImage` field to oplog entries. Refactor OpObserver::onDelete to express image semantics.
Diffstat (limited to 'src/mongo/db/fcv_op_observer.cpp')
-rw-r--r-- | src/mongo/db/fcv_op_observer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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<BSONObj>& 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); |