summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/rs_rollback.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/rs_rollback.h')
-rw-r--r--src/mongo/db/repl/rs_rollback.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/repl/rs_rollback.h b/src/mongo/db/repl/rs_rollback.h
index b4659313608..74d59ae3c8f 100644
--- a/src/mongo/db/repl/rs_rollback.h
+++ b/src/mongo/db/repl/rs_rollback.h
@@ -276,6 +276,9 @@ struct FixUpInfo {
stdx::unordered_map<UUID, std::pair<OpTime, NamespaceString>, UUID::Hash>
collectionsToRemoveFromDropPendingCollections;
+ // The UUID of the transactions collection. Set at the beginning of rollback.
+ boost::optional<UUID> transactionTableUUID = boost::none;
+
// True if rollback requires re-fetching documents in the session transaction table. If true,
// after rollback the in-memory transaction table is cleared.
bool refetchTransactionDocs = false;