diff options
author | Benety Goh <benety@mongodb.com> | 2022-12-08 16:51:21 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-12-08 23:14:23 +0000 |
commit | 132abdec712421f4e700abd7ef2292d0bf20565f (patch) | |
tree | 9adeb66c882369545c23b16ad168b83d138dec3a /src/mongo/db/repl | |
parent | 2460a8b708a5b0b0ef245cea1ebe9bb6d9929308 (diff) | |
download | mongo-132abdec712421f4e700abd7ef2292d0bf20565f.tar.gz |
SERVER-71657 OpObserver::onUnpreparedTransactionCommit() does not modify TransactionOperations
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, 3 insertions, 3 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 9ee0013f6b3..9b06528db06 100644 --- a/src/mongo/db/repl/primary_only_service_op_observer.h +++ b/src/mongo/db/repl/primary_only_service_op_observer.h @@ -205,7 +205,7 @@ public: const UUID& uuid) final {} void onUnpreparedTransactionCommit(OperationContext* opCtx, - TransactionOperations* transactionOperations) final {} + const TransactionOperations& transactionOperations) final {} void onPreparedTransactionCommit( OperationContext* opCtx, 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 54aee09460d..f8efa3360db 100644 --- a/src/mongo/db/repl/tenant_migration_donor_op_observer.h +++ b/src/mongo/db/repl/tenant_migration_donor_op_observer.h @@ -202,7 +202,7 @@ public: const UUID& uuid) final {} void onUnpreparedTransactionCommit(OperationContext* opCtx, - TransactionOperations* transactionOperations) final {} + const TransactionOperations& transactionOperations) final {} void onPreparedTransactionCommit( OperationContext* opCtx, 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 9e7df94de63..3ec60f50b75 100644 --- a/src/mongo/db/repl/tenant_migration_recipient_op_observer.h +++ b/src/mongo/db/repl/tenant_migration_recipient_op_observer.h @@ -204,7 +204,7 @@ public: const UUID& uuid) final {} void onUnpreparedTransactionCommit(OperationContext* opCtx, - TransactionOperations* transactionOperations) final {} + const TransactionOperations& transactionOperations) final {} void onPreparedTransactionCommit( OperationContext* opCtx, |