diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2019-05-04 18:18:12 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2019-05-09 07:41:56 -0400 |
commit | 94f269a1c6053824c4dabc50e8c9219b80a6a1b5 (patch) | |
tree | c18817b020380b348172d9637021bc7dfc35a18a /src/mongo/s/session_catalog_router.cpp | |
parent | 2791817876636c0cfd60d867f31c7a83cf3f18c1 (diff) | |
download | mongo-94f269a1c6053824c4dabc50e8c9219b80a6a1b5.tar.gz |
SERVER-37837 Get rid of TransactionReaper (Part 2)
This change folds the TransactionReaper's single function to be part of
the SessionCatalogs on MongoD and MongoS, which are the subsystems
responsible for managing transactions.
Diffstat (limited to 'src/mongo/s/session_catalog_router.cpp')
-rw-r--r-- | src/mongo/s/session_catalog_router.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/s/session_catalog_router.cpp b/src/mongo/s/session_catalog_router.cpp index dd514fb2a40..f88372078e4 100644 --- a/src/mongo/s/session_catalog_router.cpp +++ b/src/mongo/s/session_catalog_router.cpp @@ -35,6 +35,12 @@ namespace mongo { +int RouterSessionCatalog::reapSessionsOlderThan(OperationContext* OperationContext, + SessionsCollection& sessionsCollection, + Date_t possiblyExpired) { + return 0; +} + RouterOperationContextSession::RouterOperationContextSession(OperationContext* opCtx) : _operationContextSession(opCtx) {} |