summaryrefslogtreecommitdiff
path: root/src/mongo/db/sessions_collection_sharded.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/sessions_collection_sharded.h')
-rw-r--r--src/mongo/db/sessions_collection_sharded.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/sessions_collection_sharded.h b/src/mongo/db/sessions_collection_sharded.h
index 333c202337e..39e1ff29087 100644
--- a/src/mongo/db/sessions_collection_sharded.h
+++ b/src/mongo/db/sessions_collection_sharded.h
@@ -52,6 +52,12 @@ public:
Status setupSessionsCollection(OperationContext* opCtx) override;
/**
+ * Checks if the sessions collection exists. Does not check if the index exists in the sharded
+ * version of this function.
+ */
+ virtual Status checkSessionsCollectionExists(OperationContext* opCtx) override;
+
+ /**
* Updates the last-use times on the given sessions to be greater than
* or equal to the current time.
*/