summaryrefslogtreecommitdiff
path: root/src/mongo/db/query
diff options
context:
space:
mode:
authorDavis Haupt <davis.haupt@mongodb.com>2023-03-08 20:40:57 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-03-08 23:16:30 +0000
commite04c976ddbf5ee8a26fdcd1445339e40bc19a8a5 (patch)
treec847434938689e83e83aef876e1425a77745f00e /src/mongo/db/query
parentbb2e76b99df5c766260d4e47f54f5445a63853cf (diff)
downloadmongo-e04c976ddbf5ee8a26fdcd1445339e40bc19a8a5.tar.gz
SERVER-73557 add ability for mongos to broadcast shards pipeline to all nodes in a shard
Diffstat (limited to 'src/mongo/db/query')
-rw-r--r--src/mongo/db/query/query_knobs.idl18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mongo/db/query/query_knobs.idl b/src/mongo/db/query/query_knobs.idl
index 59d1ee4fc21..ad237e0f81e 100644
--- a/src/mongo/db/query/query_knobs.idl
+++ b/src/mongo/db/query/query_knobs.idl
@@ -1118,6 +1118,24 @@ server_parameters:
cpp_vartype: AtomicWord<bool>
default: false
+ internalQueryAggMulticastTimeoutMS:
+ description: "Timeout in MS for requests to shard servers when aggregations are sent to all shard servers"
+ set_at: [ startup ]
+ cpp_vartype: int
+ cpp_varname: internalQueryAggMulticastTimeoutMS
+ default: 60000
+ validator:
+ gte: 0
+
+ internalQueryAggMulticastMaxConcurrency:
+ description: "Max number of concurrent requests when aggregations are sent to all shard servers"
+ set_at: startup
+ cpp_vartype: int
+ cpp_varname: internalQueryAggMulticastMaxConcurrency
+ default: 100
+ validator:
+ gte: 1
+
enableAccessToUserRoles:
description: "Enables access to $$USER_ROLES in queries."
set_at: [ startup, runtime ]