diff options
author | Gabriel Russell <gabriel.russell@mongodb.com> | 2017-09-05 12:14:27 -0400 |
---|---|---|
committer | Gabriel Russell <gabriel.russell@mongodb.com> | 2017-09-21 15:29:58 -0400 |
commit | 8beb002326a5fdd82c694497b7ebcb52a593a3d3 (patch) | |
tree | 5fefa9a1b037dedab30a81abc6bfa3193b564df2 /src/mongo/db/sessions_collection_sharded.cpp | |
parent | daefad8112937c847282a661392179b9afab0b87 (diff) | |
download | mongo-8beb002326a5fdd82c694497b7ebcb52a593a3d3.tar.gz |
SERVER-28336 endSessions command
Diffstat (limited to 'src/mongo/db/sessions_collection_sharded.cpp')
-rw-r--r-- | src/mongo/db/sessions_collection_sharded.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/sessions_collection_sharded.cpp b/src/mongo/db/sessions_collection_sharded.cpp index 544915c8494..38738207196 100644 --- a/src/mongo/db/sessions_collection_sharded.cpp +++ b/src/mongo/db/sessions_collection_sharded.cpp @@ -53,8 +53,7 @@ BSONObj lsidQuery(const LogicalSessionId& lsid) { } // namespace Status SessionsCollectionSharded::refreshSessions(OperationContext* opCtx, - const LogicalSessionRecordSet& sessions, - Date_t refreshTime) { + const LogicalSessionRecordSet& sessions) { auto send = [&](BSONObj toSend) { auto opMsg = OpMsgRequest::fromDBAndBody(SessionsCollection::kSessionsDb, toSend); auto request = BatchedCommandRequest::parseUpdate(opMsg); @@ -72,7 +71,7 @@ Status SessionsCollectionSharded::refreshSessions(OperationContext* opCtx, return Status(error, response.getErrMessage()); }; - return doRefresh(kSessionsNamespaceString, sessions, refreshTime, send); + return doRefresh(kSessionsNamespaceString, sessions, send); } Status SessionsCollectionSharded::removeRecords(OperationContext* opCtx, |