diff options
Diffstat (limited to 'src/mongo/db/s/shard_server_op_observer.h')
| -rw-r--r-- | src/mongo/db/s/shard_server_op_observer.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/db/s/shard_server_op_observer.h b/src/mongo/db/s/shard_server_op_observer.h index 5a0671254d6..702949295be 100644 --- a/src/mongo/db/s/shard_server_op_observer.h +++ b/src/mongo/db/s/shard_server_op_observer.h @@ -49,7 +49,7 @@ public: const NamespaceString& nss, const UUID& uuid, BSONObj indexDoc, - bool fromMigrate) override {} + bool fromMigrate) override; void onStartIndexBuild(OperationContext* opCtx, const NamespaceString& nss, @@ -207,6 +207,10 @@ public: size_t numberOfPrePostImagesToWrite, Date_t wallClockTime) override {} + void onTransactionPrepareNonPrimary(OperationContext* opCtx, + const std::vector<repl::OplogEntry>& statements, + const repl::OpTime& prepareOpTime) override {} + void onTransactionAbort(OperationContext* opCtx, boost::optional<OplogSlot> abortOplogEntryOpTime) override {} |
