diff options
author | Ted Tuckman <ted.tuckman@mongodb.com> | 2018-09-17 11:25:15 -0400 |
---|---|---|
committer | Ted Tuckman <ted.tuckman@mongodb.com> | 2018-09-28 11:46:03 -0400 |
commit | a73b2fc77d72a06380826259620f105e179a4c5c (patch) | |
tree | 9d6b43cc70897531a148270098274da49c67e5ea /src/mongo/s/query/cluster_cursor_manager.h | |
parent | d8e10f2dcc4554c74cf1da9d40557233cad70fb1 (diff) | |
download | mongo-a73b2fc77d72a06380826259620f105e179a4c5c.tar.gz |
SERVER-37003 Add activeCursor field to curOp for getMore
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 37c7d7478b2..6c1b0d10c92 100644 --- a/src/mongo/s/query/cluster_cursor_manager.h +++ b/src/mongo/s/query/cluster_cursor_manager.h @@ -213,6 +213,11 @@ public: long long getNumReturnedSoFar() const; /** + * Returns a GenericCursor version of the pinned cursor. + */ + GenericCursor toGenericCursor() const; + + /** * Stashes 'obj' to be returned later by this cursor. A cursor must be owned. */ void queueResult(const ClusterQueryResult& result); |