summaryrefslogtreecommitdiff
path: root/src/mongo/db/sessions_collection_rs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/sessions_collection_rs.h')
-rw-r--r--src/mongo/db/sessions_collection_rs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/sessions_collection_rs.h b/src/mongo/db/sessions_collection_rs.h
index a273dd88955..cc49ecf511b 100644
--- a/src/mongo/db/sessions_collection_rs.h
+++ b/src/mongo/db/sessions_collection_rs.h
@@ -68,6 +68,12 @@ public:
StatusWith<LogicalSessionIdSet> findRemovedSessions(
OperationContext* opCtx, const LogicalSessionIdSet& sessions) override;
+
+ Status removeTransactionRecords(OperationContext* opCtx,
+ const LogicalSessionIdSet& sessions) override;
+
+ static Status removeTransactionRecordsHelper(OperationContext* opCtx,
+ const LogicalSessionIdSet& sessions);
};
} // namespace mongo