summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-04-12 16:52:28 -0400
committerMathias Stearn <mathias@10gen.com>2017-05-12 12:10:09 -0400
commitbf96ba7825a92e2fb0137523c92bfa6a862abe68 (patch)
treee6ff0031075935100bec6ef3e80d98cd8594576f /src/mongo/db/commands.h
parentf2902d59175c0724944ca98d13f784e2de944053 (diff)
downloadmongo-bf96ba7825a92e2fb0137523c92bfa6a862abe68.tar.gz
SERVER-28816 OP_MSG for mongos ingress layer
Diffstat (limited to 'src/mongo/db/commands.h')
-rw-r--r--src/mongo/db/commands.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands.h b/src/mongo/db/commands.h
index 780af5827cc..f169f651e6f 100644
--- a/src/mongo/db/commands.h
+++ b/src/mongo/db/commands.h
@@ -471,7 +471,8 @@ public:
*/
static bool isGenericArgument(StringData arg) {
// Not including "help" since we don't pass help requests through to the command parser.
- // If that changes, it should be added.
+ // If that changes, it should be added. When you add to this list, consider whether you
+ // should also change the filterCommandRequestForPassthrough() function in sharding.
return arg == "$audit" || //
arg == "$client" || //
arg == "$configServerState" || //
@@ -526,7 +527,6 @@ private:
friend void mongo::execCommandClient(OperationContext* opCtx,
Command* c,
- int queryOptions,
StringData dbname,
BSONObj& cmdObj,
BSONObjBuilder& result);