diff options
author | Cheahuychou Mao <cheahuychou.mao@mongodb.com> | 2018-07-03 14:23:27 -0400 |
---|---|---|
committer | Cheahuychou Mao <cheahuychou.mao@mongodb.com> | 2018-07-09 10:31:57 -0400 |
commit | ffbaee1a4dcb47a307986cb696807fe979f4a39d (patch) | |
tree | f42b803e6942b8bb7106597c3c80776c0aa2c0c6 /src/mongo/db/logical_session_cache_noop.h | |
parent | ceae29c2fc64445dcf832d2f82c44c1920d91933 (diff) | |
download | mongo-ffbaee1a4dcb47a307986cb696807fe979f4a39d.tar.gz |
SERVER-33697 Provide sanity check on the number of cached sessions
Diffstat (limited to 'src/mongo/db/logical_session_cache_noop.h')
-rw-r--r-- | src/mongo/db/logical_session_cache_noop.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mongo/db/logical_session_cache_noop.h b/src/mongo/db/logical_session_cache_noop.h index acb6531a388..7d0c5d1051e 100644 --- a/src/mongo/db/logical_session_cache_noop.h +++ b/src/mongo/db/logical_session_cache_noop.h @@ -45,7 +45,9 @@ public: return Status::OK(); } - void startSession(OperationContext* opCtx, LogicalSessionRecord record) override {} + Status startSession(OperationContext* opCtx, LogicalSessionRecord record) override { + return Status::OK(); + } Status refreshSessions(OperationContext* opCtx, const RefreshSessionsCmdFromClient& cmd) override { @@ -56,7 +58,9 @@ public: return Status::OK(); } - void vivify(OperationContext* opCtx, const LogicalSessionId& lsid) override {} + Status vivify(OperationContext* opCtx, const LogicalSessionId& lsid) override { + return Status::OK(); + } Status refreshNow(Client* client) override { return Status::OK(); |