diff options
author | Blake Oler <blake.oler@mongodb.com> | 2018-11-01 12:14:56 -0400 |
---|---|---|
committer | Blake Oler <blake.oler@mongodb.com> | 2018-11-02 09:39:31 -0400 |
commit | f13d685ade22d662070bde942eb094790d4e7b8d (patch) | |
tree | ea89d8c6c586c421451477a52c3616e438884193 /src/mongo/db/sessions_collection.h | |
parent | a19da30a1bf7462c9a8a0533c43f98bd13fbb190 (diff) | |
download | mongo-f13d685ade22d662070bde942eb094790d4e7b8d.tar.gz |
SERVER-37624 Allow sessions collection TTL index expiration value to change upon node restart
Diffstat (limited to 'src/mongo/db/sessions_collection.h')
-rw-r--r-- | src/mongo/db/sessions_collection.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/sessions_collection.h b/src/mongo/db/sessions_collection.h index ea7bebd2f92..a637f64fea2 100644 --- a/src/mongo/db/sessions_collection.h +++ b/src/mongo/db/sessions_collection.h @@ -96,6 +96,11 @@ public: */ static BSONObj generateCreateIndexesCmd(); + /* + * Generates a collMod command for the sessions collection TTL index. + */ + static BSONObj generateCollModCmd(); + protected: /** * Makes a send function for the given client. |