diff options
author | samantharitter <samantha.ritter@10gen.com> | 2017-10-06 15:12:40 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-10-11 00:52:09 -0400 |
commit | 45d35fe3fcefefe1282b8e0dfc8cd76cb247951d (patch) | |
tree | 6643f175807ae1c20902885846d29e888127f9a6 /src/mongo/db/sessions_collection_rs.h | |
parent | 8b3694d704d4c472adba87e8fb0827372324c215 (diff) | |
download | mongo-45d35fe3fcefefe1282b8e0dfc8cd76cb247951d.tar.gz |
SERVER-31184 Make servers automatically set up config.system.sessions
Diffstat (limited to 'src/mongo/db/sessions_collection_rs.h')
-rw-r--r-- | src/mongo/db/sessions_collection_rs.h | 5 |
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 08459d6ff4f..88645bed5ad 100644 --- a/src/mongo/db/sessions_collection_rs.h +++ b/src/mongo/db/sessions_collection_rs.h @@ -54,6 +54,11 @@ public: SessionsCollectionRS() = default; /** + * Ensures that the sessions collection exists and has the proper indexes. + */ + Status setupSessionsCollection(OperationContext* opCtx) override; + + /** * Updates the last-use times on the given sessions to be greater than * or equal to the current time. */ |