summaryrefslogtreecommitdiff
path: root/src/mongo/db/free_mon
diff options
context:
space:
mode:
authorDaniel Gottlieb <daniel.gottlieb@mongodb.com>2021-05-04 16:09:52 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-04 21:10:48 +0000
commit137f0e128c872b601dfce4a3801a1dac8d2f0d28 (patch)
treec020124db3caf0752672b87233fe6ddd4ca8ffc8 /src/mongo/db/free_mon
parente6981fb1f4eade2e07a971af7663f6cbc436be15 (diff)
downloadmongo-137f0e128c872b601dfce4a3801a1dac8d2f0d28.tar.gz
SERVER-56373: Introduce `needsRetryImage` field to oplog entries. Refactor OpObserver::onDelete to express image semantics.
Diffstat (limited to 'src/mongo/db/free_mon')
-rw-r--r--src/mongo/db/free_mon/free_mon_op_observer.cpp3
-rw-r--r--src/mongo/db/free_mon/free_mon_op_observer.h3
2 files changed, 2 insertions, 4 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 29e380c8baa..73861cc31d9 100644
--- a/src/mongo/db/free_mon/free_mon_op_observer.cpp
+++ b/src/mongo/db/free_mon/free_mon_op_observer.cpp
@@ -134,8 +134,7 @@ void FreeMonOpObserver::onDelete(OperationContext* opCtx,
const NamespaceString& nss,
OptionalCollectionUUID uuid,
StmtId stmtId,
- bool fromMigrate,
- const boost::optional<BSONObj>& deletedDoc) {
+ const OplogDeleteEntryArgs& args) {
if (nss != NamespaceString::kServerConfigurationNamespace) {
return;
}
diff --git a/src/mongo/db/free_mon/free_mon_op_observer.h b/src/mongo/db/free_mon/free_mon_op_observer.h
index cbc3ac48291..e6b7cc6a422 100644
--- a/src/mongo/db/free_mon/free_mon_op_observer.h
+++ b/src/mongo/db/free_mon/free_mon_op_observer.h
@@ -92,8 +92,7 @@ public:
const NamespaceString& nss,
OptionalCollectionUUID uuid,
StmtId stmtId,
- bool fromMigrate,
- const boost::optional<BSONObj>& deletedDoc) final;
+ const OplogDeleteEntryArgs& args) final;
void onInternalOpMessage(OperationContext* opCtx,
const NamespaceString& nss,