diff options
Diffstat (limited to 'src/mongo/s/query/cluster_cursor_manager.h')
-rw-r--r-- | src/mongo/s/query/cluster_cursor_manager.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/s/query/cluster_cursor_manager.h b/src/mongo/s/query/cluster_cursor_manager.h index f6da640bb1e..d6eb8f47abf 100644 --- a/src/mongo/s/query/cluster_cursor_manager.h +++ b/src/mongo/s/query/cluster_cursor_manager.h @@ -32,7 +32,9 @@ #include <vector> #include "mongo/db/cursor_id.h" +#include "mongo/db/kill_sessions.h" #include "mongo/db/namespace_string.h" +#include "mongo/db/session_killer.h" #include "mongo/platform/random.h" #include "mongo/s/query/cluster_client_cursor.h" #include "mongo/stdx/mutex.h" @@ -353,6 +355,9 @@ public: */ void appendActiveSessions(LogicalSessionIdSet* lsids) const; + Status killCursorsWithMatchingSessions(OperationContext* opCtx, + const SessionKiller::Matcher& matcher); + /** * Returns a list of all open cursors for the given session. */ |