summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_recovery.h
diff options
context:
space:
mode:
authorSamy Lanka <samy.lanka@mongodb.com>2019-04-30 21:59:26 -0400
committerSamy Lanka <samy.lanka@mongodb.com>2019-05-06 17:23:18 -0400
commit8ad1effc48ac5193c5f57630d1fbce8bda0cfdaf (patch)
treef12beec2e31fc5a189bbf1943682f2b05a77972d /src/mongo/db/repl/replication_recovery.h
parenta25226e009fa1598f3077dd7972b9be3d2368785 (diff)
downloadmongo-8ad1effc48ac5193c5f57630d1fbce8bda0cfdaf.tar.gz
SERVER-36492 Reconstruct prepared transactions at the end of initial sync
Diffstat (limited to 'src/mongo/db/repl/replication_recovery.h')
-rw-r--r--src/mongo/db/repl/replication_recovery.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/db/repl/replication_recovery.h b/src/mongo/db/repl/replication_recovery.h
index f04a651f9fe..0261fb5a74d 100644
--- a/src/mongo/db/repl/replication_recovery.h
+++ b/src/mongo/db/repl/replication_recovery.h
@@ -55,13 +55,6 @@ public:
*/
virtual void recoverFromOplog(OperationContext* opCtx,
boost::optional<Timestamp> stableTimestamp) = 0;
-
- /**
- * Reconstruct prepared transactions by iterating over the transactions table to see which
- * transactions should be in the prepared state, getting the corresponding oplog entry and
- * applying the operations.
- */
- virtual void reconstructPreparedTransactions(OperationContext* opCtx) = 0;
};
class ReplicationRecoveryImpl : public ReplicationRecovery {
@@ -75,8 +68,6 @@ public:
void recoverFromOplog(OperationContext* opCtx,
boost::optional<Timestamp> stableTimestamp) override;
- void reconstructPreparedTransactions(OperationContext* opCtx) override;
-
private:
/**
* After truncating the oplog, completes recovery if we're recovering from a stable timestamp