summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/primary_only_service_op_observer.h
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2022-06-28 07:28:20 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-06-28 12:03:59 +0000
commit3e27134024d243b03e0d52c2e8e966f5aeb7f84f (patch)
tree7df4b6b24a149c21f7771e078c6d28db83e16fa1 /src/mongo/db/repl/primary_only_service_op_observer.h
parent4be8a73678005831f48c4e12335b37c97187c044 (diff)
downloadmongo-3e27134024d243b03e0d52c2e8e966f5aeb7f84f.tar.gz
SERVER-67281 add OpObserver::onBatchedWriteStart() and onBatchedWriteAbort()
Diffstat (limited to 'src/mongo/db/repl/primary_only_service_op_observer.h')
-rw-r--r--src/mongo/db/repl/primary_only_service_op_observer.h4
1 files changed, 4 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 5f552149f98..15673bf3aa8 100644
--- a/src/mongo/db/repl/primary_only_service_op_observer.h
+++ b/src/mongo/db/repl/primary_only_service_op_observer.h
@@ -211,8 +211,12 @@ public:
void onTransactionAbort(OperationContext* opCtx,
boost::optional<OplogSlot> abortOplogEntryOpTime) final {}
+ void onBatchedWriteStart(OperationContext* opCtx) final {}
+
void onBatchedWriteCommit(OperationContext* opCtx) final {}
+ void onBatchedWriteAbort(OperationContext* opCtx) final {}
+
void onMajorityCommitPointUpdate(ServiceContext* service,
const repl::OpTime& newCommitPoint) final {}