diff options
author | Josef Ahmad <josef.ahmad@mongodb.com> | 2022-03-24 16:07:41 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-03-24 18:58:47 +0000 |
commit | 16227df086c840630ded6e4304fd25c04b7fac6b (patch) | |
tree | d5220bc4c091773de111ed8bf97178fa857640d9 /src/mongo/db/repl | |
parent | 7671b3cca3c5fb1024b8affcafe92c9dfed37280 (diff) | |
download | mongo-16227df086c840630ded6e4304fd25c04b7fac6b.tar.gz |
SERVER-63047 Make delete batches fully transactional
Diffstat (limited to 'src/mongo/db/repl')
-rw-r--r-- | src/mongo/db/repl/primary_only_service_op_observer.h | 2 | ||||
-rw-r--r-- | src/mongo/db/repl/tenant_migration_donor_op_observer.h | 2 | ||||
-rw-r--r-- | src/mongo/db/repl/tenant_migration_recipient_op_observer.h | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/repl/primary_only_service_op_observer.h b/src/mongo/db/repl/primary_only_service_op_observer.h index a81b66e04cd..63a93f69bb9 100644 --- a/src/mongo/db/repl/primary_only_service_op_observer.h +++ b/src/mongo/db/repl/primary_only_service_op_observer.h @@ -210,6 +210,8 @@ public: void onTransactionAbort(OperationContext* opCtx, boost::optional<OplogSlot> abortOplogEntryOpTime) final {} + void onBatchedWriteCommit(OperationContext* opCtx) final {} + void onMajorityCommitPointUpdate(ServiceContext* service, const repl::OpTime& newCommitPoint) final {} diff --git a/src/mongo/db/repl/tenant_migration_donor_op_observer.h b/src/mongo/db/repl/tenant_migration_donor_op_observer.h index 6ab805ee967..2f977b38c52 100644 --- a/src/mongo/db/repl/tenant_migration_donor_op_observer.h +++ b/src/mongo/db/repl/tenant_migration_donor_op_observer.h @@ -207,6 +207,8 @@ public: void onTransactionAbort(OperationContext* opCtx, boost::optional<OplogSlot> abortOplogEntryOpTime) final {} + void onBatchedWriteCommit(OperationContext* opCtx) final {} + void onMajorityCommitPointUpdate(ServiceContext* service, const repl::OpTime& newCommitPoint) final; diff --git a/src/mongo/db/repl/tenant_migration_recipient_op_observer.h b/src/mongo/db/repl/tenant_migration_recipient_op_observer.h index b7b0a88ca96..3a6d9e95922 100644 --- a/src/mongo/db/repl/tenant_migration_recipient_op_observer.h +++ b/src/mongo/db/repl/tenant_migration_recipient_op_observer.h @@ -209,6 +209,8 @@ public: void onTransactionAbort(OperationContext* opCtx, boost::optional<OplogSlot> abortOplogEntryOpTime) final {} + void onBatchedWriteCommit(OperationContext* opCtx) final {} + void onMajorityCommitPointUpdate(ServiceContext* service, const repl::OpTime& newCommitPoint) final {} |