summaryrefslogtreecommitdiff
path: root/src/mongo/embedded/embedded.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2018-11-15 06:41:30 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2018-11-19 10:02:52 -0500
commitc131f5903c8b4039d3fb2732142c987e296bd503 (patch)
tree6c388cf76254bbbde8e7e86a22bc5fb1ab0f3f43 /src/mongo/embedded/embedded.cpp
parent0d71197c9fa8a69203fbe0e81e85acb5766c9428 (diff)
downloadmongo-c131f5903c8b4039d3fb2732142c987e296bd503.tar.gz
SERVER-37245 Do not access the SessionCatalog directly if not necessary
The session catalog should not be accessed directly by majority of the consumers on mongod or mongos, instead they should interact with it through the decorations, which properly validate that the session has been assigned to the OperationContext.
Diffstat (limited to 'src/mongo/embedded/embedded.cpp')
-rw-r--r--src/mongo/embedded/embedded.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/embedded/embedded.cpp b/src/mongo/embedded/embedded.cpp
index 5c54a5609a3..1084c489045 100644
--- a/src/mongo/embedded/embedded.cpp
+++ b/src/mongo/embedded/embedded.cpp
@@ -53,7 +53,6 @@
#include "mongo/db/op_observer_registry.h"
#include "mongo/db/repair_database_and_check_version.h"
#include "mongo/db/repl/storage_interface_impl.h"
-#include "mongo/db/session_catalog.h"
#include "mongo/db/session_killer.h"
#include "mongo/db/storage/encryption_hooks.h"
#include "mongo/db/storage/storage_engine_init.h"