diff options
author | Ian Whalen <ian.whalen@gmail.com> | 2017-11-02 23:13:40 -0400 |
---|---|---|
committer | Ian Whalen <ian.whalen@gmail.com> | 2017-11-02 23:13:40 -0400 |
commit | bbbafc93ab4ab5b36c8f297a158cd218ab0638f9 (patch) | |
tree | 0ab379c213bc943a25234f4d1b0f0525a1d0a5db /src/mongo/db/kill_sessions_local.cpp | |
parent | e66875edd77f39a975ab0c11a13a1a4481d1da94 (diff) | |
download | mongo-bbbafc93ab4ab5b36c8f297a158cd218ab0638f9.tar.gz |
Revert "SERVER-31565 Add stats about logical sessions background jobs to serverStatus"
This reverts commit 7cd8508b06e1574bea211dff054855b70b7cc20e.
Diffstat (limited to 'src/mongo/db/kill_sessions_local.cpp')
-rw-r--r-- | src/mongo/db/kill_sessions_local.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/kill_sessions_local.cpp b/src/mongo/db/kill_sessions_local.cpp index 2bff47e89cc..981cab7d85c 100644 --- a/src/mongo/db/kill_sessions_local.cpp +++ b/src/mongo/db/kill_sessions_local.cpp @@ -44,8 +44,7 @@ namespace mongo { SessionKiller::Result killSessionsLocalKillCursors(OperationContext* opCtx, const SessionKiller::Matcher& matcher) { - auto res = CursorManager::killCursorsWithMatchingSessions(opCtx, matcher); - auto status = res.first; + auto status = CursorManager::killCursorsWithMatchingSessions(opCtx, matcher); if (status.isOK()) { return std::vector<HostAndPort>{}; |