summaryrefslogtreecommitdiff
path: root/src/mongo/db/logical_session_cache.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2019-05-21 14:01:46 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2019-05-24 09:39:30 -0400
commit497a301902e635f204ca057aa2872627b766491c (patch)
tree6282bc6af9d6e570ac6adc89bb4dc85b8bf45f92 /src/mongo/db/logical_session_cache.h
parent7536959e9afa7e5dd0ef7bc807630630e48d5706 (diff)
downloadmongo-497a301902e635f204ca057aa2872627b766491c.tar.gz
SERVER-41193 Get rid of LogicalSessionCache promote and refreshSessions
Substitutes the uses with calls to vivify.
Diffstat (limited to 'src/mongo/db/logical_session_cache.h')
-rw-r--r--src/mongo/db/logical_session_cache.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mongo/db/logical_session_cache.h b/src/mongo/db/logical_session_cache.h
index 38f323eeda5..6e07bfa136f 100644
--- a/src/mongo/db/logical_session_cache.h
+++ b/src/mongo/db/logical_session_cache.h
@@ -62,13 +62,6 @@ public:
virtual void joinOnShutDown() = 0;
/**
- * If the cache contains a record for this LogicalSessionId, promotes that lsid
- * to be the most recently used and updates its lastUse date to be the current
- * time. Returns an error if the session was not found.
- */
- virtual Status promote(const LogicalSessionId& lsid) = 0;
-
- /**
* Inserts a new authoritative session record into the cache.
*
* This method will insert the authoritative record into the sessions collection and should only
@@ -78,12 +71,6 @@ public:
virtual Status startSession(OperationContext* opCtx, const LogicalSessionRecord& record) = 0;
/**
- * Refresh the given sessions. Updates the timestamps of these records in the local cache.
- */
- virtual Status refreshSessions(OperationContext* opCtx,
- const std::vector<LogicalSessionFromClient>& sessions) = 0;
-
- /**
* Vivifies the session in the cache. I.e. creates it if it isn't there, updates last use if it
* is.
*/