summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2022-12-08 16:51:21 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-12-08 23:14:23 +0000
commit132abdec712421f4e700abd7ef2292d0bf20565f (patch)
tree9adeb66c882369545c23b16ad168b83d138dec3a /src/mongo/db/repl
parent2460a8b708a5b0b0ef245cea1ebe9bb6d9929308 (diff)
downloadmongo-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.h2
-rw-r--r--src/mongo/db/repl/tenant_migration_donor_op_observer.h2
-rw-r--r--src/mongo/db/repl/tenant_migration_recipient_op_observer.h2
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,