summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/op_observer.h')
-rw-r--r--src/mongo/db/op_observer.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/db/op_observer.h b/src/mongo/db/op_observer.h
index 5332973563d..163d4738b0e 100644
--- a/src/mongo/db/op_observer.h
+++ b/src/mongo/db/op_observer.h
@@ -496,15 +496,6 @@ public:
Date_t wallClockTime) = 0;
/**
- * This is called when a transaction transitions into prepare while it is not primary. Example
- * case can include secondary oplog application or when node was restared and tries to
- * recover prepared transactions from the oplog.
- */
- virtual void onTransactionPrepareNonPrimary(OperationContext* opCtx,
- const std::vector<repl::OplogEntry>& statements,
- const repl::OpTime& prepareOpTime) = 0;
-
- /**
* The onTransactionAbort method is called when an atomic transaction aborts, before the
* RecoveryUnit onRollback() is called. It must not be called when the transaction to abort is
* active.