summaryrefslogtreecommitdiff
path: root/src/mongo/s/query/SConscript
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2016-12-02 15:39:00 -0500
committerDavid Storch <david.storch@10gen.com>2016-12-21 12:27:49 -0500
commit2cfb3e0bdc46deb7ad4546cce529b6084cc9d922 (patch)
tree4d6f7c29399664202de3120a50790b5cab203b8f /src/mongo/s/query/SConscript
parent1ab87806b9ad157bb205403f2c7e0226988af64f (diff)
downloadmongo-2cfb3e0bdc46deb7ad4546cce529b6084cc9d922.tar.gz
SERVER-27304 add internalQueryAlwaysMergeOnPrimaryShard setParameter
When set to true on a mongos, aggregation queries routed to that mongos which require a merging shard will always select the primary shard as the merger. Set to false by default, which means that the merging shard is chosen at random amongst nodes participating in answering the aggregation query. (cherry picked from commit 3f54fef03fdd7bd787a57387b84d298c9dd0222d) Conflicts: src/mongo/s/commands/cluster_aggregate.cpp
Diffstat (limited to 'src/mongo/s/query/SConscript')
-rw-r--r--src/mongo/s/query/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/s/query/SConscript b/src/mongo/s/query/SConscript
index 18022507aa2..fd27f991f01 100644
--- a/src/mongo/s/query/SConscript
+++ b/src/mongo/s/query/SConscript
@@ -6,6 +6,7 @@ env.Library(
target="cluster_query",
source=[
"cluster_find.cpp",
+ "cluster_query_knobs.cpp",
],
LIBDEPS=[
'$BUILD_DIR/mongo/db/commands',