diff options
author | Bernard Gorman <bernard.gorman@gmail.com> | 2018-03-14 17:46:22 +0000 |
---|---|---|
committer | Bernard Gorman <bernard.gorman@gmail.com> | 2018-03-15 17:33:50 +0000 |
commit | 5ecf2c0a5bffa837c96ad20dea23a94c5165739a (patch) | |
tree | 254b1baa62ecd3092b8962778fcc0480c066de03 /src/mongo/s/query/cluster_cursor_manager.h | |
parent | 8c639f958eb5edff4d52560e4c3dfe04c7a78f31 (diff) | |
download | mongo-5ecf2c0a5bffa837c96ad20dea23a94c5165739a.tar.gz |
SERVER-18094 Add 'localOps' parameter to $currentOp to show local mongoS operations
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 bb7bc857130..11f67ff533a 100644 --- a/src/mongo/s/query/cluster_cursor_manager.h +++ b/src/mongo/s/query/cluster_cursor_manager.h @@ -190,6 +190,11 @@ public: void returnCursor(CursorState cursorState); /** + * Returns the command object which originally created this cursor. + */ + BSONObj getOriginatingCommand() const; + + /** * Returns the cursor id for the underlying cursor, or zero if no cursor is owned. */ CursorId getCursorId() const; |