From 0ed9472dc8c2f85e957052f01336b1247c7a6e75 Mon Sep 17 00:00:00 2001 From: Judah Schvimer Date: Tue, 7 Aug 2018 13:42:19 -0400 Subject: SERVER-35798 preallocate prepare timestamp --- src/mongo/db/op_observer_noop.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/op_observer_noop.h') diff --git a/src/mongo/db/op_observer_noop.h b/src/mongo/db/op_observer_noop.h index b04fce35c50..98be250f0cf 100644 --- a/src/mongo/db/op_observer_noop.h +++ b/src/mongo/db/op_observer_noop.h @@ -110,7 +110,7 @@ public: const NamespaceString& collectionName, OptionalCollectionUUID uuid) override {} void onTransactionCommit(OperationContext* opCtx, bool wasPrepared) override{}; - void onTransactionPrepare(OperationContext* opCtx) override{}; + void onTransactionPrepare(OperationContext* opCtx, const OplogSlot& prepareOpTime) override{}; void onTransactionAbort(OperationContext* opCtx) override{}; void onReplicationRollback(OperationContext* opCtx, const RollbackObserverInfo& rbInfo) override {} -- cgit v1.2.1