summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog.h
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/db/repl/oplog.h
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/db/repl/oplog.h')
-rw-r--r--src/mongo/db/repl/oplog.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/repl/oplog.h b/src/mongo/db/repl/oplog.h
index 1c5439a62c0..98f4d25a011 100644
--- a/src/mongo/db/repl/oplog.h
+++ b/src/mongo/db/repl/oplog.h
@@ -105,7 +105,6 @@ void createOplog(OperationContext* opCtx);
std::vector<OpTime> logInsertOps(OperationContext* opCtx,
const NamespaceString& nss,
OptionalCollectionUUID uuid,
- Session* session,
std::vector<InsertStatement>::const_iterator begin,
std::vector<InsertStatement>::const_iterator end,
bool fromMigrate,