diff options
author | Jason Carey <jcarey@argv.me> | 2017-07-31 18:33:20 -0400 |
---|---|---|
committer | Jason Carey <jcarey@argv.me> | 2017-08-22 12:08:57 -0400 |
commit | 5fa946faad4ec2817f6b83684811333270f45c78 (patch) | |
tree | aff3a3345fc2d9594854f387a53755f65750a1a9 /src/mongo/db/logical_session_cache_factory_mongos.cpp | |
parent | 53a831fd5d462fbd5bc050d0b4eaf5875a41400b (diff) | |
download | mongo-5fa946faad4ec2817f6b83684811333270f45c78.tar.gz |
SERVER-28342 Ensure session bookkeeping happens
Ensure we properly vivify session records on ingress.
Diffstat (limited to 'src/mongo/db/logical_session_cache_factory_mongos.cpp')
-rw-r--r-- | src/mongo/db/logical_session_cache_factory_mongos.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/logical_session_cache_factory_mongos.cpp b/src/mongo/db/logical_session_cache_factory_mongos.cpp index e96319f8c48..6ba42da89de 100644 --- a/src/mongo/db/logical_session_cache_factory_mongos.cpp +++ b/src/mongo/db/logical_session_cache_factory_mongos.cpp @@ -32,6 +32,7 @@ #include "mongo/db/logical_session_cache_factory_mongos.h" +#include "mongo/db/logical_session_cache_impl.h" #include "mongo/db/server_parameters.h" #include "mongo/db/service_liason_mongos.h" #include "mongo/db/sessions_collection_sharded.h" @@ -43,8 +44,8 @@ std::unique_ptr<LogicalSessionCache> makeLogicalSessionCacheS() { auto liason = stdx::make_unique<ServiceLiasonMongos>(); auto sessionsColl = stdx::make_unique<SessionsCollectionSharded>(); - return stdx::make_unique<LogicalSessionCache>( - std::move(liason), std::move(sessionsColl), LogicalSessionCache::Options{}); + return stdx::make_unique<LogicalSessionCacheImpl>( + std::move(liason), std::move(sessionsColl), LogicalSessionCacheImpl::Options{}); } } // namespace mongo |