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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/sessions_collection_rs.h b/src/mongo/db/sessions_collection_rs.h
index 9558f92860b..0dfe92fe301 100644
--- a/src/mongo/db/sessions_collection_rs.h
+++ b/src/mongo/db/sessions_collection_rs.h
@@ -61,6 +61,11 @@ public:
Status setupSessionsCollection(OperationContext* opCtx) override;
/**
+ * Checks if the sessions collection exists and has the proper indexes.
+ */
+ Status checkSessionsCollectionExists(OperationContext* opCtx) override;
+
+ /**
* Updates the last-use times on the given sessions to be greater than
* or equal to the current time.
*