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/auth/auth_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/auth/auth_op_observer.cpp')
-rw-r--r-- | src/mongo/db/auth/auth_op_observer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/auth/auth_op_observer.cpp b/src/mongo/db/auth/auth_op_observer.cpp index 4d1dad3c26e..c05983b875c 100644 --- a/src/mongo/db/auth/auth_op_observer.cpp +++ b/src/mongo/db/auth/auth_op_observer.cpp @@ -88,8 +88,7 @@ void AuthOpObserver::onDelete(OperationContext* opCtx, const NamespaceString& nss, OptionalCollectionUUID uuid, StmtId stmtId, - bool fromMigrate, - const boost::optional<BSONObj>& deletedDoc) { + const OplogDeleteEntryArgs& args) { auto& documentId = documentIdDecoration(opCtx); invariant(!documentId.isEmpty()); AuthorizationManager::get(opCtx->getServiceContext()) |