diff options
author | Samy Lanka <samy.lanka@mongodb.com> | 2018-11-14 14:20:43 -0500 |
---|---|---|
committer | Samy Lanka <samy.lanka@mongodb.com> | 2018-12-14 10:59:49 -0500 |
commit | 221c9016b79a60de0b0d86ed2e5d331e2f0bfe7a (patch) | |
tree | a0adf036deb442a076bf82ea4eb0e3451346b856 /src/mongo/db/repl/apply_ops.h | |
parent | 44eee20aebea5dbf0768210f88c0540a92f31760 (diff) | |
download | mongo-221c9016b79a60de0b0d86ed2e5d331e2f0bfe7a.tar.gz |
SERVER-35879 Reconstitute prepared transactions at end of startup recovery
Diffstat (limited to 'src/mongo/db/repl/apply_ops.h')
-rw-r--r-- | src/mongo/db/repl/apply_ops.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/repl/apply_ops.h b/src/mongo/db/repl/apply_ops.h index 741ebbf2a4e..267719b6b9b 100644 --- a/src/mongo/db/repl/apply_ops.h +++ b/src/mongo/db/repl/apply_ops.h @@ -103,5 +103,10 @@ Status applyOps(OperationContext* opCtx, Status applyApplyOpsOplogEntry(OperationContext* opCtx, const OplogEntry& entry, repl::OplogApplication::Mode oplogApplicationMode); + +/** + * Called from recovery to apply a prepare transaction oplog entry. + */ +Status applyRecoveredPrepareTransaction(OperationContext* opCtx, const OplogEntry& entry); } // namespace repl } // namespace mongo |