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/db/clientcursor.h | |
parent | d8e10f2dcc4554c74cf1da9d40557233cad70fb1 (diff) | |
download | mongo-a73b2fc77d72a06380826259620f105e179a4c5c.tar.gz |
SERVER-37003 Add activeCursor field to curOp for getMore
Diffstat (limited to 'src/mongo/db/clientcursor.h')
-rw-r--r-- | src/mongo/db/clientcursor.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/clientcursor.h b/src/mongo/db/clientcursor.h index cc698e12bfd..7602af622d0 100644 --- a/src/mongo/db/clientcursor.h +++ b/src/mongo/db/clientcursor.h @@ -186,6 +186,12 @@ public: _pos = n; } + /** + * Returns a generic cursor containing diagnostics about this cursor. + * The caller must either have this cursor pinned or hold a mutex from the cursor manager. + */ + GenericCursor toGenericCursor() const; + // // Timing. // |