diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2019-05-08 18:14:07 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2019-05-17 07:18:50 -0400 |
commit | aa9f6a202e0709adf14046cb27504864adaf732b (patch) | |
tree | 144df4c5076284b611cf67ff54d63f2190a3a037 /src/mongo/db/sessions_collection.h | |
parent | 1d05d4b956221cfeb731892a4387d1470f999114 (diff) | |
download | mongo-aa9f6a202e0709adf14046cb27504864adaf732b.tar.gz |
SERVER-37837 Examine and reap sessions from the SessionsCatalog
This change makes the logical sessions cache query and reap sessions,
which are possibly only in-memory on the SessionsCatalog.
Diffstat (limited to 'src/mongo/db/sessions_collection.h')
-rw-r--r-- | src/mongo/db/sessions_collection.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/sessions_collection.h b/src/mongo/db/sessions_collection.h index 64e78c8a476..91ae86e7c9f 100644 --- a/src/mongo/db/sessions_collection.h +++ b/src/mongo/db/sessions_collection.h @@ -34,8 +34,6 @@ namespace mongo { -class BSONArrayBuilder; -class BSONObjBuilder; class DBClientBase; class OperationContext; @@ -46,7 +44,6 @@ class OperationContext; * implement their own classes that fulfill this interface. */ class SessionsCollection { - public: static constexpr StringData kSessionsTTLIndex = "lsidTTLIndex"_sd; @@ -98,6 +95,8 @@ public: static BSONObj generateCollModCmd(); protected: + SessionsCollection(); + /** * Makes a send function for the given client. */ |