summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/mongo_process_interface.h
diff options
context:
space:
mode:
authorBernard Gorman <bernard.gorman@gmail.com>2018-03-14 17:46:22 +0000
committerBernard Gorman <bernard.gorman@gmail.com>2018-03-15 17:33:50 +0000
commit5ecf2c0a5bffa837c96ad20dea23a94c5165739a (patch)
tree254b1baa62ecd3092b8962778fcc0480c066de03 /src/mongo/db/pipeline/mongo_process_interface.h
parent8c639f958eb5edff4d52560e4c3dfe04c7a78f31 (diff)
downloadmongo-5ecf2c0a5bffa837c96ad20dea23a94c5165739a.tar.gz
SERVER-18094 Add 'localOps' parameter to $currentOp to show local mongoS operations
Diffstat (limited to 'src/mongo/db/pipeline/mongo_process_interface.h')
-rw-r--r--src/mongo/db/pipeline/mongo_process_interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/mongo_process_interface.h b/src/mongo/db/pipeline/mongo_process_interface.h
index d32e8276c63..cdfae197c1f 100644
--- a/src/mongo/db/pipeline/mongo_process_interface.h
+++ b/src/mongo/db/pipeline/mongo_process_interface.h
@@ -62,6 +62,7 @@ public:
enum class CurrentOpConnectionsMode { kIncludeIdle, kExcludeIdle };
enum class CurrentOpUserMode { kIncludeAll, kExcludeOthers };
enum class CurrentOpTruncateMode { kNoTruncation, kTruncateOps };
+ enum class CurrentOpLocalOpsMode { kLocalMongosOps, kRemoteShardOps };
struct MakePipelineOptions {
MakePipelineOptions(){};