diff options
author | Ted Tuckman <ted.tuckman@mongodb.com> | 2018-10-02 10:16:47 -0400 |
---|---|---|
committer | Ted Tuckman <ted.tuckman@mongodb.com> | 2018-10-05 16:18:41 -0400 |
commit | ed22ba00bf462cb1a22e7cbc22d990126aacfb24 (patch) | |
tree | 6a4e2f3a793624c270691ce455d089e01da6fbae /src/mongo/s/query/cluster_cursor_manager.h | |
parent | d19b987d91d685f523effe3c4ee51514abf8beed (diff) | |
download | mongo-ed22ba00bf462cb1a22e7cbc22d990126aacfb24.tar.gz |
SERVER-37004 Add auth to getIdleCursors
Diffstat (limited to 'src/mongo/s/query/cluster_cursor_manager.h')
-rw-r--r-- | src/mongo/s/query/cluster_cursor_manager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/s/query/cluster_cursor_manager.h b/src/mongo/s/query/cluster_cursor_manager.h index f74e8a4ba97..885585d5e3f 100644 --- a/src/mongo/s/query/cluster_cursor_manager.h +++ b/src/mongo/s/query/cluster_cursor_manager.h @@ -436,7 +436,8 @@ public: /** * Returns a list of GenericCursors for all idle (non-pinned) cursors in the cursor manager. */ - std::vector<GenericCursor> getIdleCursors() const; + std::vector<GenericCursor> getIdleCursors( + const OperationContext* opCtx, MongoProcessInterface::CurrentOpUserMode userMode) const; std::pair<Status, int> killCursorsWithMatchingSessions(OperationContext* opCtx, const SessionKiller::Matcher& matcher); |